dillon1000/react
Commit
Browse files Throw when unmounting <html>, <head>, <title> or <body>
These are dangerous from a cross-browser perspective. I think supporting efficient reactive updates will be prohibitively expensive and we'll never prioritize it. Instead of killing this capability entirely, let's just throw on the dangerous cases. There will be a few follow-up diffs
Changed paths3 files
First-parent comparisonsrc/core/ReactDefaultInjection.js ModifiedM src/core/__tests__/ReactRenderDocument-test.js ModifiedA src/dom/components/createFullPageComponent.js AddedPatch
Files changed
Rendering syntax-highlighted changes…