JSFiddle - React, Tailwind, and code Playground
HTML
<table id="foo">
<tbody>
</tbody>
</table>
CSS
td {
padding: 5px;
}
JavaScript
new Element('tr').inject(document.id("foo").getElement("tbody")).set({
'html': '<td>foo</td><td>bar</td>'
});;