dillon1000/react

Commit

Warn when rendering directly into document.body

This is in response to #3207 to address concerns regarding third-party
scripts and browser plugins potentially altering DOM nodes within
document.body, causing problems with reconciliation.

Closes #3211.
Browse files
Changed paths2 files
First-parent comparison
M src/browser/ui/ReactMount.js ModifiedM src/browser/ui/__tests__/ReactMount-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…