JSFiddle - React, Tailwind, and code Playground

by Cale Bergh

HTML

<div id="empty-me">
  This is not empty.... yet.
</div>

JavaScript

jQuery(function($) {
  $.when($('#empty-me').html('')).done(function() {
    alert('I did it!');
  });
});