dillon1000/react

Commit

Failed error boundaries are a special case of resuming work

When an error in thrown in the begin phase, we begin work on the
error boundary a second time to unmount the children. This is a special
case of "resuming" work that we need to account for. The children are
set to the current children so that we can delete them.
Browse files
Changed paths1 file
First-parent comparison
M src/renderers/shared/fiber/ReactFiberBeginWork.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…