react icon indicating copy to clipboard operation
react copied to clipboard

[Transition Tracing] Transition Tracing For Offscreen Trees

Open lunaruan opened this issue 1 year ago • 0 comments

This PR implements transition tracing for offscreen trees. Specifically, it:

  • Schedules a Passive effect on Offscreen fibers that went from visible to hidden
  • Add a removeSuspenseBoundaryFromSubtree function that iterates through the Offscreen subtree removes the all suspense boundaries in the hidden offscreen subtree from their parent tracing markers
  • Only run this code for an actual Offscreen component (rather than a suspense component)

lunaruan avatar Jul 29 '22 21:07 lunaruan