Open ValentineStone opened 6 years ago
Make sense, will change it to <ol>
or <div>
@ValentineStone if this has not been completed yet, it sounds like a pretty easy change. Would you like to help out, and build this feature?
@ndelangen sure, I'll take a look at it within a couple of days)
<Inspector>
component seems to be using<li>
as a root dom node, so when the inspector is nested in another list item component React complains with the flowing message:Warning: validateDOMNesting(...): <li> cannot appear as a descendant of <li>
Below is the rendered dom tree which illustrates the problem:
Regardless of the React warning, according to MDN on
<li>
element:So having
<li>
as root element is not a conforming usage anyhow ¯\_(ツ)_/¯