JSFiddle - React, Tailwind, and code Playground
HTML
<button>
Hello
</button>
JavaScript
$('button').click(function(){
alert('hi')
})
$('button').unbind().click(function(){
alert('hi')
})
<button>
Hello
</button>
$('button').click(function(){
alert('hi')
})
$('button').unbind().click(function(){
alert('hi')
})