dillon1000/react
Commit
Browse files 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.
Changed paths1 file
First-parent comparisonsrc/renderers/shared/fiber/ReactFiberBeginWork.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…