JSFiddle - React, Tailwind, and code Playground
HTML
<table>
<tr>
<td id="cell">
Some info
</td>
</tr>
</table>
<input type="button" id="button" value="Show/hide" />
JavaScript
$("#button").click(function(){
$("#cell").toggle();
});