JSFiddle - React, Tailwind, and code Playground

HTML

<div id="hello">hover and leave</div>

CSS

#hello{
    display:inline-block;
}

JavaScript

$('#hello').mouseout(function() {
    $(this).html('hello');
});