dillon1000/react
Commit
Browse files Errors thrown when detaching a ref should not interrupt unmount
If a ref throws while detaching, it should not prevent componentWillUnmount from being called. Additionally, errors thrown by removeChild should not be ignored, even as the result of unmounting a failed subtree.
Changed paths3 files
First-parent comparisonscripts/fiber/tests-passing.txt ModifiedM src/renderers/shared/fiber/ReactFiberCommitWork.js ModifiedM src/renderers/shared/fiber/__tests__/ReactIncrementalErrorHandling-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…