JSFiddle - React, Tailwind, and code Playground
HTML
<input class="testInput" />
JavaScript
$('.testInput')
.click(function(){ alert('clicked') })
.keyup(function(){ alert('keyup')
})
<input class="testInput" />
$('.testInput')
.click(function(){ alert('clicked') })
.keyup(function(){ alert('keyup')
})