JSFiddle - React, Tailwind, and code Playground

HTML

<input type="text" id="textbox" />

JavaScript

//$("#textbox").keyup(function() {alert("Keyup detected!");});
$("#textbox").on('input',function() {alert("Change detected!");});