Skip to content

Suspense tags are a bit excessive #1529

@jods4

Description

@jods4

What problem does this feature solve?

devtools indicate what components are inside a suspense boundary with a small purple tag.

That can quickly create a lot of noise and not be very helpful.
For example if you have a Suspense component at your top router, than basically everything is inside it, for example:
image

And if you have multiple suspense boundaries then it's impossible to see where they are exactly with this depiction.

I suggest that the Suspense purple tag should only be displayed where the suspense boundary actually is.

Related: it would also be nice to have another tag that says Async (purple as well or another color) and helps identify where async components are.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions