dillon1000/react
Commit
Browse files [DevTools] Track virtual instances on the tracked path for selections (#30802)
This appends a (filtered) virtual instance path at the end of the fiber path. If a virtual instance is selected inside the fiber. The main part of the path is still just the fiber path since that's the semantically stateful part. Then we just tack on a few virtual path frames at the end if we're currently selecting a specific Server Component within the nearest Fiber. I also took the opportunity to fix a bug which caused selections inside Suspense boundaries to not be tracked.
Changed paths1 file
First-parent comparisonpackages/react-devtools-shared/src/backend/fiber/renderer.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…