SiteTidy
HomeGuidesReact Server Components (Part 4): Suspense, Streaming and Fast Navigation
Frontend

React Server Components (Part 4): Suspense, Streaming and Fast Navigation

Use Suspense and streaming deliberately in React Server Component applications. Learn boundary placement, waterfalls, loading states, error behaviour and perceived performance.

Published on August 15, 2026Updated August 31, 2026
React Server Components (Part 4): Suspense, Streaming and Fast Navigation

A server-rendered page does not have to be an all-or-nothing response.

With React Server Components and Suspense, the server can begin sending useful output while slower parts of the component tree are still waiting for data. Done well, that turns a route that feels like a two-second blank screen into a route whose useful structure appears almost immediately.

Done badly, it gives you a page full of unrelated spinners.

The goal of streaming is not to make slow work disappear. It is to stop less-important slow work from unnecessarily blocking more-important ready work.

The basic boundary

import { Suspense } from 'react'

export default function ProductPage() {
  return (
    <main>
      <ProductHeader />

      <Suspense fallback={<ReviewsSkeleton />}>
        <Reviews />
      </Suspense>
    </main>
  )
}

async function Reviews() {
  const reviews = await getReviews()
  return <ReviewList reviews={reviews} />
}

If Reviews suspends while waiting for data, React can render the fallback while the work continues.

In a streaming server environment, the ready part of the response can be sent first and the completed reviews can arrive later.

That is much more useful than waiting for every query on the page before returning anything.

Suspense is a reveal boundary

It helps to stop thinking of Suspense as a “loading spinner component.”

A boundary answers a more architectural question:

Which pieces of UI should become visible together?

That may be one widget. It may be an entire content region. It may be a route segment.

A good boundary usually surrounds content that:

  • can arrive later without making the earlier UI misleading;
  • has a useful placeholder shape;
  • represents a coherent visual unit;
  • can fail or delay somewhat independently of the rest of the screen.

Don’t wrap every async component

This is technically possible:

<Suspense fallback={<Spinner />}><Price /></Suspense>
<Suspense fallback={<Spinner />}><Stock /></Suspense>
<Suspense fallback={<Spinner />}><Delivery /></Suspense>
<Suspense fallback={<Spinner />}><Reviews /></Suspense>

It is often a miserable user experience.

The page flickers through several unrelated states, layout can jump, and the user has no sense of what is actually ready.

Prefer boundaries that follow the page’s visual and information hierarchy.

For a product page that might mean:

  1. product identity, image and primary price as the initial critical region;
  2. delivery and availability as a second region;
  3. recommendations and reviews as later regions.

Start slow work before you need it

Streaming cannot fix a waterfall that starts too late.

Suppose the page waits for product data before it even starts recommendations:

const product = await getProduct(id)
const recommendations = await getRecommendations(product.categoryId)

If the second query truly requires the first result, the dependency is real.

But if recommendations only need a route parameter you already possess, begin the request earlier. Suspense is most effective when independent work has been allowed to overlap.

A fallback should preserve the shape of the page

A giant centred spinner tells the user almost nothing and often causes the final content to shift dramatically.

A useful skeleton roughly reserves the space the final content will occupy:

function ReviewsSkeleton() {
  return (
    <section aria-busy="true" aria-label="Loading reviews">
      <div className="h-7 w-40 rounded bg-slate-200" />
      <div className="mt-4 h-20 rounded bg-slate-100" />
      <div className="mt-3 h-20 rounded bg-slate-100" />
    </section>
  )
}

Do not try to reproduce every pixel of the final component. Preserve enough geometry and hierarchy that the reveal feels stable.

Streaming and Core Web Vitals

Streaming can improve perceived loading and may help the browser receive important content earlier, but it is not automatically a Core Web Vitals win.

You can still damage LCP if the actual largest element is delayed behind an unnecessary boundary. You can still create CLS if a fallback reserves the wrong amount of space. You can still produce poor INP if the Client Components that hydrate later perform heavy main-thread work.

The correct question is therefore not “are we streaming?” but “did the important content become useful sooner without destabilising the page?”

Measure the production result.

Route-level loading states

Frameworks built around RSC can integrate Suspense into routing.

In Next.js App Router, for example, route-segment loading UI can provide an immediate fallback while the segment’s server work continues. Shared layouts can remain interactive while the new segment streams in.

This is one of the places RSC architecture becomes more than server-side rendering: navigation can request and reconcile the Server Component payload rather than requiring a traditional full-document navigation for every route transition.

But a route-level fallback is deliberately broad. You may still want nested Suspense boundaries inside the route for slower secondary regions.

A good transition from /products to /products/42 should not feel as if the whole application died and restarted.

Shared navigation, account controls or persistent layouts should remain useful where the framework architecture allows it. The route’s changing content can display an intentional pending state.

This is more than visual polish. It tells the user their action was accepted.

Streaming a Promise to a Client Component

React can also begin a Promise on the server and let a Client Component read it with use():

// Server Component
import { Suspense } from 'react'
import Comments from './Comments'

export default async function Article({ id }) {
  const article = await getArticle(id)
  const commentsPromise = getComments(id)

  return (
    <>
      <ArticleBody article={article} />
      <Suspense fallback={<p>Loading comments…</p>}>
        <Comments commentsPromise={commentsPromise} />
      </Suspense>
    </>
  )
}
'use client'

import { use } from 'react'

export default function Comments({ commentsPromise }) {
  const comments = use(commentsPromise)
  return <CommentList comments={comments} />
}

The resolved value crossing that server/client boundary must be serializable.

This pattern is useful when the consumer needs to be a Client Component. It is not a reason to move ordinary server-renderable output into the client.

Error behaviour deserves deliberate design

Suspense and errors are related but not identical.

During streaming server rendering, React can use a nearby Suspense fallback when a component fails on the server, then attempt rendering again on the client where appropriate. Persistent failures should ultimately be handled by an Error Boundary or framework error UI.

Users should not be left with a skeleton forever because an upstream API returned 500.

Design the three states separately:

  • pending;
  • successfully resolved;
  • failed.

Do not leak sensitive errors into the fallback

Server exceptions may contain database messages, internal URLs, identifiers or stack details.

Production UI should expose a safe message and a correlation identifier where useful, while detailed diagnostics stay in server-side telemetry.

Streaming makes error timing more complicated because part of the response may already have been sent. That makes structured server logging more important, not less.

Slow is sometimes better than unstable

Suppose the top of a checkout page needs inventory, delivery options and current price to present a truthful purchase decision.

Streaming the price immediately and allowing inventory to arrive later might make the page look faster while temporarily presenting an action the user cannot actually complete.

Those values may belong behind one boundary because they form one semantic decision.

Performance architecture should preserve correctness.

Avoid “spinner architecture”

A useful review exercise is to disable your fast development connection and navigate the application under realistic latency.

If the page becomes a Christmas tree of loading indicators, you probably designed boundaries around implementation details instead of user tasks.

Ask:

  • What does the user need first?
  • Which information can arrive later?
  • Which pieces must agree before they are useful?
  • What space should be reserved while they load?
  • What can fail independently?

Those answers usually reveal the correct Suspense structure.

Check the outcome, not the architecture diagram

Audit the production page with SiteTidy after changing rendering or streaming behaviour.

Run Free Audit →

Production checklist

Before signing off a streaming route:

  • important above-the-fold content is not needlessly delayed;
  • independent requests begin in parallel;
  • fallbacks reserve sensible space;
  • Suspense boundaries match meaningful UI regions;
  • loading states are accessible and understandable;
  • failures have an explicit path rather than hanging indefinitely;
  • sensitive server errors stay out of browser output;
  • LCP and CLS are measured after the change;
  • hydration work for interactive islands is still measured;
  • slow backends are fixed rather than merely hidden behind prettier skeletons.

The principle to keep

Suspense is most powerful when it expresses information priority.

Render what is already useful. Keep independent slow work from blocking it. Reveal related content together. Preserve layout while waiting. Handle failure deliberately.

That is the difference between a streamed application that feels immediate and one that simply replaces a blank page with ten spinners.

Ready to audit your site?

Put this guide into practice immediately using our free tools.

Browse 180+ Free Tools