JSFiddle - React, Tailwind, and code Playground
HTML
<p>
<label for="bind">bind()</label>
<input id="bind" type="text" />
</p>
<p>
<label for="on">on()</label>
<input id="on" type="text" />
</p>
JavaScript
$('#bind').bind('input', function() {
console.log('Even handler fired: bind()');
});
$('#on').on('input', function() {
console.log('Even handler fired: on()');
});