Lesson 3.3
Suspense for data loading
Suspense moves loading state out of the component and into its boundary, so you stop threading isLoading through the tree.
Taught byMira KovacReact · Next.js · Web performance · Rendering
Overview
Suspense moves loading state out of the component and into its boundary, so you stop threading isLoading through the tree.
What this lesson covers
- Place boundaries where a meaningful fallback exists
- Avoid a single boundary that blocks the whole page
- Combine Suspense with error boundaries for failures
This lesson sits in Concurrent React, part of React Performance Engineering. It assumes what came before it and leads directly into the next lesson in the module.
In this lesson you will:
- Place boundaries where a meaningful fallback exists
- Avoid a single boundary that blocks the whole page
- Combine Suspense with error boundaries for failures
