I would like to be able to return 2 <tr>
lines, which works by wrapping in a <tbody>
as suggested here:
var Item = React.createClass({
render: function() {
return (
<tbody>
<tr>/*...*/</tr>
<tr>/*...*/</tr>
</tbody>
);
}
});
However, I get a warning from React: < tbody> cannot appear as a child of < tbody>
Is there any other way to do this that would be more DOM friendly?