Skip to content
public-library›Rules›React›Stream slow data behind Suspense boundaries

Stream slow data behind Suspense boundaries

Await data in the component that needs it, and wrap that component in a Suspense boundary with a fallback, so the rest of the page can render and stream first.

In the full rule