dillon1000/react
Commit
Browse files Handle case where host environment throws when working on failed root
Otherwise you fall into an infinite loop where root fails -> host env throws -> root fails... This is a worst-case scenario that should only be possible if there's a bug in the renderer.
Changed paths6 files
First-parent comparisonscripts/fiber/tests-failing.txt ModifiedM scripts/fiber/tests-passing.txt ModifiedM src/renderers/dom/fiber/ReactDOMFiber.js ModifiedM src/renderers/shared/fiber/ReactFiberReconciler.js ModifiedM src/renderers/shared/fiber/ReactFiberScheduler.js ModifiedM src/renderers/shared/shared/__tests__/ReactComponent-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…