Asynchronous rendering

Nested Suspense boundaries

Group related content and isolate slower sections with nested loading boundaries.

Formal Syntax & Structure

react syntaxreact
<Suspense fallback={<p>Loading</p>}><Overview/><Suspense fallback={<p>Details loading</p>}><Details/></Suspense></Suspense>

Working Example

Example Snippetreact
<Suspense fallback={<p>Loading</p>}><Overview/><Suspense fallback={<p>Details loading</p>}><Details/></Suspense></Suspense>
React Reference