JSFiddle - React, Tailwind, and code Playground

HTML

<input type="button" id="button1" value="Button 1" onclick="testJQueryClick(); return false" />
<input type="button" id="button2" id="button2" value="Button 2" />

JavaScript

function testJQueryClick(){
     $('#button2').click(function(){ alert ('Debug'); return false; });       
}