dillon1000/react

Commit

[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`).
Browse files
Changed paths1 file
First-parent comparison
M packages/react-reconciler/src/__tests__/Activity-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…