JSFiddle - React, Tailwind, and code Playground

by Mottie

HTML

<div id="test">hover over me</div>

JavaScript

$('#test').hover(function(e){
    console.log(e.type);
    setTimeout(function(){
        console.log('after timeout: ' + e.type);
    }, 0);
});