dillon1000/react
Commit
Browse files [test] add activity test with gSBU and enableViewTransition bugfix (#35555)
Related to https://github.com/facebook/react/pull/35548, `enableViewTransition` fixes a bug where `getSnapshotBeforeUpdate` was running in hidden trees when it shouldn't (`componentWillUpdate` won't run for hidden updates, and when it becomes visible it will be called with `componentWillMount`).
Changed paths1 file
First-parent comparisonpackages/react-reconciler/src/__tests__/Activity-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…