-
Notifications
You must be signed in to change notification settings - Fork 49.3k
[DevTools] Add breadcrumbs to Suspense tab #34312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DevTools] Add breadcrumbs to Suspense tab #34312
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't the tree on the left tab of the Suspense panel supposed to be used for it?
With components panel there is a much common scenario where parent stack != owner stack. Is there a value in this for Suspense boundaries, though?
|
||
export default function SuspenseBreadcrumbs(): React$Node { | ||
const store = useContext(StoreContext); | ||
useContext(SuspenseTreeStateContext); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is unused
It'll contain named Activity boundaries. #34159 is obsolete. |
Helps orienting the currently selected Suspense in the tree.
54827ed
to
73d2ecb
Compare
DiffTrain build for [89a803f](facebook@89a803f)
DiffTrain build for [89a803f](facebook@89a803f)
Stacked on #34299
Helps orienting the currently selected Suspense in the tree. This is the same display as with the Owner hierarchy in the Components tab minus handling overflow. The overflow is just a scrollbar for now.
Probably better to keep the lineage locked while you click in it. At least while we don't have 1st class backwards/forwards navigation.
CleanShot.2025-08-27.at.10.10.42-converted.mp4