JSFiddle - React, Tailwind, and code Playground

HTML

<input class="a" />

JavaScript

$(".a").on('click', function() {
    alert('1')
});
// ...and later
$(".a").on('click', function() {
    alert('2')
});
console.log($._data($(".a")[0], "events"));