render-as-you-fetch
A data loading approach that starts requests before or while rendering, then lets components read the pending promises and suspend until data arrives.
In more detail
Because all requests begin together, their delays overlap instead of adding up. It needs a cache so each component reads the same promise instead of starting a new request.
Related terms
- fetch-on-render — A data loading approach where each component starts its request only after it has rendered, usually in an Effect.
- Suspense — A React component that shows a fallback, such as a spinner or skeleton, while components inside it are waiting for something to load.
- use() — The React 19 API that reads a value from a Promise or a context, and unlike hooks may be called inside conditions and loops.
- cache — A store of earlier answers kept close to where they are needed so they can be reused instead of fetched or computed again.
Taught in
- Client-Side Data Fetching Architectures with Suspense — React 19 & Modern Component Architecture