JSFiddle - React, Tailwind, and code Playground
HTML
<button type="button">Activate Me</button>
JavaScript
$(function() {
$('button').click(function() {
alert($(this).is(':hover'));
});
});
<button type="button">Activate Me</button>
$(function() {
$('button').click(function() {
alert($(this).is(':hover'));
});
});