JSFiddle - React, Tailwind, and code Playground

HTML

<input id="my-input" type="text" />

JavaScript

$('#my-input').bind('input keyup', function(){
    alert('here');
});