JSFiddle - React, Tailwind, and code Playground

HTML

<table>
    <thead>
        <tr>
            <th>Column 1</th>
        </tr>
    </thead>
    <tbody>
        <myrow></myrow>
    </tbody>
</table>

JavaScript

$(function(){
    $("myrow").replaceWith("<tr><td>A</td></tr>");
})