JSFiddle - React, Tailwind, and code Playground
by adamschwartz
HTML
<div id="js"></div>
CSS
</style>
<script>
var paceOptions = {
catchupTime: 250,
// How quickly should the bar be moving before it has any progress
// info from a new source in %/ms
initialRate: 1,
maxProgressPerFrame: 100,
// What is the minimum amount of time the bar should be on the screen
minTime: 250,
// What is the minimum amount of time the bar should sit after the last
// update before disappearing
ghostTime: 500,
eventLag: false
};
</script>
<script src="//fast.eager.io/YAMhXuWYYC.js"></script>
JavaScript
setTimeout(function(){
js.innerHTML = 'JS ran';
});