dillon1000/react
Commit
Browse files 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.
Changed paths3 files
First-parent comparisonscripts/fiber/tests-passing-except-dev.txt ModifiedM scripts/fiber/tests-passing.txt ModifiedM src/renderers/dom/fiber/ReactDOMFiberEntry.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…