I make use of react-inky to generate email style templates, and I use enzyme to write unit tests for them. When I run my tests, I get warnings like:
Warning: validateDOMNesting(...): <tr> cannot appear as a child of <table>. Add a <tbody> to your code to match the DOM tree generated by the browser.
It seems like many of the components that use <table> tags do not include <tbody> tags to contain <tr> elements. Being a warning, this is more of a nuisance than a real issue, but would it be unreasonable to update all the Inky components to render valid tables?
I make use of react-inky to generate email style templates, and I use enzyme to write unit tests for them. When I run my tests, I get warnings like:
It seems like many of the components that use
<table>tags do not include<tbody>tags to contain<tr>elements. Being a warning, this is more of a nuisance than a real issue, but would it be unreasonable to update all the Inky components to render valid tables?