@polotek @janl yeah Suspense is sort of trying to mitigate the thing where every single individual async component has its own loading indicator and pops in. It lets you draw a line around components (technically just children of the Suspense component) and have finer control over when the sub-components pop in, what order they pop in, etc.

this is not me saying it's GOOD btw, haha

1
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin
esmevane, sorry

@darius @polotek @janl Yeah. I get the motivation, too. Saying "just do this thing" (where in this case it's "take proper care to thoroughly model out your async state and design your component space so it' knows about that state") is kind of bad vs "let's make an official API". But man, the API is tough to grok and even tougher to talk about w/ folks.

0
4mo
Replies