JSFiddle - React, Tailwind, and code Playground

HTML

<img src="http://placekitten.com/200/200" />

JavaScript

$(function () {
    console.log("ready2");
});

$(document).on('readystatechange', function(){
    if(this.readyState === 'interactive'){
        console.log('ready1');
    }
});