JSFiddle - React, Tailwind, and code Playground

HTML

<table id="mytable"></table>
<input type="button" value="Addrow" onclick="addrow()"> </input>

JavaScript

function addrow(){
    $("#mytable").after("<tr><td>1</td><td>1</td><td>2</td></tr>");
}