JSFiddle - React, Tailwind, and code Playground
JavaScript
$(function(){
$("<div>Loading</div>").appendTo($("body"));
var anticache = "?anticache=" + new Date().getTime();
var xhr = new XMLHttpRequest();
xhr.onreadystatechange = function() {
if (xhr.readyState === 4){
$("div").html($("div").html() + " - Done");
}
else {
$("div").html($("div").html() + ".");
}
};
xhr.open("POST", "jsfiddle.net" + anticache, true );
xhr.send();
});