JSFiddle - React, Tailwind, and code Playground

HTML

<input id="q">
<input>

JavaScript

$("q").keyup(function() {
    while(true) {
    }
});