JSFiddle - React, Tailwind, and code Playground
HTML
<div id="test">Click Me to Understand</div>
Try to check jQuery UI and see what happens after.
JavaScript
$('#test').on('click', function () {
$(this).hide({
step: function () {
alert('im OK');
}
});
});