I\'m seeing this. It\'s not a mystery what it is complaining about:
Warning: validateDOMnesting(...): cannot appear as a descendant of . See
This is a constraint of browsers. You should use div or article or something like that in the render method of App because that way you can put whatever you like inside it. Paragraph tags are limited to only containing a limited set of tags (mostly tags for formatting text. You cannot have a div inside a paragraph
is not valid HTML. Per the tag omission rules listed in the spec, the You can't put a You can put tag is automatically closed by the
tag without a matching
. The browser is well within its rights to attempt to correct it by adding an open
tag after the
and get consistent results from various browsers. Provide the browsers with valid HTML and they will behave better.
with