2 ms·
>when there's no data Everything else, or nothing prior to some threshold, or what you specify and where within the Suspense abstractions. Since you don't know
by PKop 7y ago
>when there's no data
Everything else, or nothing prior to some threshold, or what you specify and where within the Suspense abstractions. Since you don't know exactly when all of the data is ready in different parts across time, manually coordinating all of it without a cohesive declarative paradigm results in more code and more errors, and more bad UX of flashing spinners and flickering loading states.
The point of concurrent rendering and Suspense are to abstract at a higher lever, or more general terms what to do and what to render when there's no data.