JSFiddle - React, Tailwind, and code Playground
HTML
<table>
<tr>
<td>to display</td>
</tr>
<tr>
<td class="hidden"> not to display</td>
</tr>
</table>
JavaScript
$(".hidden").toggle();
<table>
<tr>
<td>to display</td>
</tr>
<tr>
<td class="hidden"> not to display</td>
</tr>
</table>
$(".hidden").toggle();