JSFiddle - React, Tailwind, and code Playground
HTML
<input id="my-input" type="text" />
JavaScript
$('#my-input').bind('input keyup', function(){
alert('here');
});
<input id="my-input" type="text" />
$('#my-input').bind('input keyup', function(){
alert('here');
});