dillon1000/react
Commit
Browse files 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.
Changed paths2 files
First-parent comparisonsrc/browser/ui/ReactMount.js ModifiedM src/browser/ui/__tests__/ReactMount-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…