JSFiddle - React, Tailwind, and code Playground

HTML

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<h1 id="header1">This should show !</h1>
    <script>
        $(document).ready(function() {
            // Intentional infinite loop
            for(var i=0; i<100; i++) {
                console.log($("#header1").text());
                console.log($("#header2").text());
            }
        });
    </script>
<h1 id="header2">This should *not* show !</h1>