React · Middle · Question 33 of 75
How do nested <Suspense> boundaries behave?
- ✓Correct answer: The fallback of the nearest boundary above fires
- 2The topmost boundary in the tree always fires
- 3Nested Suspense is forbidden and throws an error
Explanation
Boundary placement determines which parts of the UI appear together. One boundary around the whole page gives one big spinner. Several nested ones let you reveal content progressively: header → main → comments. With streaming SSR, each boundary can arrive as a separate HTML chunk.