Skip to content
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

Suspense tags are a bit excessive #1529

Closed
jods4 opened this issue Aug 10, 2021 · 0 comments
Closed

Suspense tags are a bit excessive #1529

jods4 opened this issue Aug 10, 2021 · 0 comments

Comments

@jods4
Copy link

jods4 commented Aug 10, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants