fetch-on-render
A data loading approach where each component starts its request only after it has rendered, usually in an Effect.
In more detail
It is simple but causes network waterfalls, because nested components cannot start until their parents finish loading. Each level of nesting adds another full network round trip before the page is complete.
Related terms
- 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.
- network waterfall — A chain of network requests where each one starts only after the previous finished, so their delays add up.
- useEffect — The React hook for running side work, such as adding listeners or changing document.body, after a component renders.
Taught in
- Client-Side Data Fetching Architectures with Suspense — React 19 & Modern Component Architecture