JSFiddle - React, Tailwind, and code Playground

HTML

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

JavaScript

$("#ralph").on('keyup', function() {
    alert('keyup event');
});