dillon1000/react

Commit

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
Browse files
Changed paths3 files
First-parent comparison
M src/core/ReactDefaultInjection.js ModifiedM src/core/__tests__/ReactRenderDocument-test.js ModifiedA src/dom/components/createFullPageComponent.js Added
Patch

Files changed

Rendering syntax-highlighted changes…