-
Notifications
You must be signed in to change notification settings - Fork 50.4k
[DevTools] Allow inspecting root when navigating Suspense timeline #34380
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] Allow inspecting root when navigating Suspense timeline #34380
Conversation
This helps identifying what suspended the shell. We should probably add more affordances to inspect the root in other places since whatever is suspending the shell is responsible for first-contentful-paint.
| if (current !== suspense) { | ||
| suspenseTreeList.push(current); | ||
| } | ||
| // Include the root even if we won't suspend it. |
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.
What does "even if we won't suspend it" mean here?
Seems important to start dealing with the hasUniqueSuspenders case ASAP because for all these cases I'm wondering what your intention is.
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.
Meaning that the backend doesn't support suspending the root because there isn't anything meaningful to display other than showing a blank.
This helps identifying what suspended the shell like in #34381
We should probably add more affordances to inspect the root in other places since whatever is suspending the shell is responsible for first-contentful-paint.