dillon1000/react

Commit

Ensure first error is thrown if HostRoot catches two errors in commit phase (#8923)

Previously, we were overwriting capturedErrors with the second error and throwing that one.
Browse files
Changed paths3 files
First-parent comparison
M scripts/fiber/tests-passing.txt ModifiedM src/renderers/shared/fiber/ReactFiberScheduler.js ModifiedM src/renderers/shared/shared/__tests__/ReactErrorBoundaries-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…