dillon1000/react

Commit

Run test script and fix regressions

Fixes the case where there's an uncaught error and the root unmounts.
We implement this by rendering the root as if its child is null. Null is
not usually allowed at the top level, so we need to special case it.
Browse files
Changed paths7 files
First-parent comparison
M scripts/fiber/tests-failing.txt ModifiedM scripts/fiber/tests-passing.txt ModifiedM src/renderers/dom/fiber/__tests__/ReactDOMFiber-test.js ModifiedM src/renderers/shared/fiber/ReactChildFiber.js ModifiedM src/renderers/shared/fiber/__tests__/ReactIncremental-test.js ModifiedM src/renderers/shared/fiber/__tests__/ReactIncrementalErrorHandling-test.js ModifiedM src/renderers/shared/shared/__tests__/ReactStatelessComponent-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…