dillon1000/react

Commit

resumeMountClassComponent should check for mount lifecycles, not update (#12371)

We have other tests that would have caught this if resuming were enabled
in all cases, but since it's currently only enabled for error
boundaries, the test I've added to prevent a regression is a
bit contrived.
Browse files
Changed paths2 files
First-parent comparison
M packages/react-reconciler/src/ReactFiberClassComponent.js ModifiedM packages/react-reconciler/src/__tests__/ReactIncrementalErrorHandling-test.internal.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…