dillon1000/react
Commit
Browse files 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.
Changed paths2 files
First-parent comparisonpackages/react-reconciler/src/ReactFiberClassComponent.js ModifiedM packages/react-reconciler/src/__tests__/ReactIncrementalErrorHandling-test.internal.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…