Skip to content

Conversation

@eps1lon
Copy link
Collaborator

@eps1lon eps1lon commented Sep 4, 2025

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.

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.
@meta-cla meta-cla bot added the CLA Signed label Sep 4, 2025
@github-actions github-actions bot added the React Core Team Opened by a member of the React Core Team label Sep 4, 2025
@eps1lon eps1lon requested review from hoxyq and sebmarkbage September 4, 2025 12:10
@eps1lon eps1lon marked this pull request as ready for review September 4, 2025 12:11
if (current !== suspense) {
suspenseTreeList.push(current);
}
// Include the root even if we won't suspend it.
Copy link
Collaborator

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.

Copy link
Collaborator Author

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.

@eps1lon eps1lon merged commit b9a0453 into facebook:main Sep 4, 2025
250 checks passed
@eps1lon eps1lon deleted the sebbie/09-04-_devtools_allow_inspecting_root_when_navigating_suspense_timeline branch September 4, 2025 14:53
github-actions bot pushed a commit to rickhanlonii/react that referenced this pull request Sep 4, 2025
github-actions bot pushed a commit to rickhanlonii/react that referenced this pull request Sep 4, 2025
github-actions bot pushed a commit to code/lib-react that referenced this pull request Sep 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed React Core Team Opened by a member of the React Core Team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants