dillon1000/react
Commit
Browse files Warn if using React.unmountComponentAtNode on a different React instance's tree. (#7456)
* Warn when using React.unmountComponentAtNode on a different React instance's tree https://github.com/facebook/react/issues/3787 * Adding tests. * Implementing recommended changes. https://github.com/facebook/react/issues/3787
Changed paths2 files
First-parent comparisonsrc/renderers/dom/client/ReactMount.js ModifiedM src/renderers/dom/client/__tests__/ReactMount-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…