-
Couldn't load subscription status.
- Fork 49.7k
Closed
Description
Do you want to request a feature or report a bug?
feature
What is the current behavior?
I want render dom struct like whatwg says:
<body>
<header>...</header>
<nav>...</nav>
<aside></aside>
<main>...</main>
<footer></footer>
</body>But there get a warning:
index.js:1375 Warning: render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.
What is the expected behavior?
Without call ReactDOM.render multiple times, can i do this by strictly following the html specification?
juanmirocks and cachius
Metadata
Metadata
Assignees
Labels
No labels