Chapter 09
Suspense, use, and error boundaries
Declarative loading and error states: what suspending means, how use reads promises and context, how Suspense interacts with transitions, code splitting with lazy, and what error boundaries catch.- 010What happens when a component suspends?Corehard
- 020How does
useread a promise, and why must the promise be cached?medium - 030How do transitions stop Suspense from showing a fallback again?hard
- 040How does
lazysplit code, and where should you declare it?medium - 050What do error boundaries catch, and what slips past them?Coremedium