<p>before</p>
<table>
<tr>
<th>head row</th>
</tr>
{
[1, 2, 3].map(() => (
<tr>
<td>row</td>
</tr>
))
}
</table>
<p>after</p>
renders as
before
after
head row
row
row
row
Am i doing something wrong? If I remove the head row or wrap the table within a div it works correctly