mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
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.