dillon1000/react

Commit

Don't skip content in visible offscreen trees for View Transitions (#35063)

Also, don't not skip hidden trees.

Memoized state is null when an Offscreen boundary (Suspense or Activity)
is visible.

This logic was inversed in a couple of View Transition checks which
caused pairs to be discovered or not discovered incorrectly for
insertion and deletion of Suspense or Activity boundaries.
Browse files
Changed paths1 file
First-parent comparison
M packages/react-reconciler/src/ReactFiberCommitViewTransitions.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…