JSFiddle - React, Tailwind, and code Playground

HTML

<div id="parent">
    Parent
    <div id="child">
        Child
    </div>
</div>

JavaScript

$('#child').hide();

$('#parent').hover(
   function() { $(this).children('div').show() },
   function() { $(this).children('div').hide() }
);