dillon1000/react

Commit

Fix mount and unmount warnings in Fiber (#10056)

* Warn if unmounting a non-container

* Warn if the 2nd+ child is a "root" element but not first

This triggers our non-reuse mode. This is covered by ReactMount already but
the test doesn't pass yet without also landing #10026.
Browse files
Changed paths3 files
First-parent comparison
M scripts/fiber/tests-passing-except-dev.txt ModifiedM scripts/fiber/tests-passing.txt ModifiedM src/renderers/dom/fiber/ReactDOMFiberEntry.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…