-
Couldn't load subscription status.
- Fork 378
Description
The full browser console warning is:
Warning: validateDOMNesting(...): cannot appear as a child of
. See GridTable > table > GridRowContainer > GridRow > tr. Add a to your code to match the DOM tree generated by the browser.I get this when using subgrids in my table. Specifically, I have mix of rows in my table, some of which have subgrids (i.e. a children array in the source data) and some of which don't (i.e. the children array is an empty array). The rows that have subgrids generate
tags inside tags in the resulting HTML. However, the rows that don't have subgrids generate tags only (i.e. not inside a tbody). This means that you have tags that are peers of tags. which React doesn't like.I can test up a test repo for this issue if anybody wants.
I'm using react 0.14 with griddle-react 0.2.14.
Edit: 19 Oct 2015
Apologies, I didn't spot that my html tags were being parsed by Github in my original post, so it probably didn't make a whole lot of sense when I first posted it! The tags should all be properly escaped now.