JSFiddle - React, Tailwind, and code Playground

HTML

<div id="addstuff"> Add stuff brah
 </div>

JavaScript

$(document).ready(function(){
  $("#addstuff").mouseleave(function(){
    $(this).remove();
  });
});