React Suspense: It's Not Just About Loading
Most devs think Suspense is simply "show a spinner while something loads." In reality, Suspense is much deeper:
- It allows React to pause rendering a subtree without blocking the entire UI.
- Anything async can trigger Suspense: data fetching, code splitting, server components, even images.
- React handles the promise internally, keeps the rest of the UI interactive, and resumes rendering once ready.
- The fallback UI (spinner, skeleton, etc.) is optional — Suspense itself is about coordination and scheduling, not just showing a loader.
Understanding Suspense this way helps you write more resilient and concurrent-ready apps, and it reframes React as a scheduler of UI computations, not just a library for DOM updates.