Next.js App Router Patterns

Master Next.js 14+ App Router with Server Components, streaming, parallel routes, and advanced…

A complete pattern library for building modern full-stack apps on the Next.js 14+ App Router with React Server Components. It teaches when to render on the server versus the client, how to stream slow data with Suspense, and how to handle mutations with Server Actions: backed by eight copy-ready patterns covering data fetching, parallel routes, intercepting modals, route handlers, and SEO metadata.

$15 one-time
Add to a kit →

Prices include 20% VAT. · Forged on real agency work · one-time, no lock-in

  • Type Skill
  • Category Development
  • Delivery Email · instant
  • License One-time
Run preview
forgehouse, nextjs-app-router-patterns

Inside the run · no black box

See the actual work before you buy it.

The difference between a 300KB bundle and a 50KB one is where the client boundary sits. This App Router loop starts on the server and pushes interactivity out to the leaves.

  1. Starts everything as a Server Component with colocated fetching: async pages call the database or API directly with the right cache hint (revalidate for ISR, tags for targeted invalidation), and secrets never leave the server.
  2. Isolates client islands at the leaves: only the genuinely interactive pieces (an add-to-cart button with useTransition, a form) get 'use client', which is what turns a 300KB bundle into a 50KB one.
  3. Streams slow data instead of blocking on it: loading.tsx covers the route level, nested Suspense boundaries wrap reviews, recommendations and other slow widgets so the header renders instantly and the rest flows in.
  4. Routes mutations through Server Actions: cookie/session check at the top, the database write, then revalidateTag or revalidatePath so exactly the affected cache entries refresh, not the whole site.
  5. Reaches for the advanced route shapes when the UI calls for them: parallel @slots for dashboard panels with independent loading states, intercepting (.) routes for the modal-over-page photo pattern, generateStaticParams to push dynamic routes into SSG.
  6. Finishes the SEO layer per page: generateMetadata builds title, description, OG and Twitter cards from live data, and opengraph-image.tsx renders a branded dynamic OG image via ImageResponse on the Edge runtime.
Use cases · what happens when you plug it in

One power source. 6 lines out.

nextjs-app-router-patterns · core

core active · 6 lines

  1. Building Server Component data fetching with ISR and cache tags

    ✓ building server component
  2. Streaming slow widgets with Suspense and loading.tsx

    ✓ streaming slow widgets w…
  3. Mutations and form handling with Server Actions

    ✓ mutations and form handl…
  4. Parallel and intercepting routes (dashboard slots, photo modals)

    ✓ parallel and intercepting
  5. generateMetadata + generateStaticParams for SEO pages

    ✓ generatemetadata + gener…
  6. Migrating from Pages Router to App Router

    ✓ migrating from pages rou…
Benefits · what you walk away with

Yours to keep.

Drag time forward. Watch what stays.

Forever

That's what owning means.

The rented stack

ai writing tool: subscription

expired · access lost

analytics suite: subscription

expired · access lost

design platform: subscription

expired · access lost

(nothing left)

Your forge

  1. Smaller client bundles by keeping logic on the server

    license: perpetual
  2. Faster perceived load via progressive streaming, not blank TTI waits

    license: perpetual
  3. Precise cache invalidation that rebuilds only affected pages

    license: perpetual
  4. Layered auth defense so a bypassed layer is caught by the next

    license: perpetual

subscriptions expire · deeds don't

What's included · the full manifest

Everything in the box.

Pick a piece up. Watch it work.

Rendering-mode decision table (Server/Client/Static/Dynamic/Streaming)

part 01 of 06 · in the box

6 parts · one working system · ships instantly by email

Who it's for

This wasn't forged for everyone.

  • Not for you if you'd rather rent a tool than own one.
  • Not for you if you want someone else to run your stack.
  • Not for you if you're happy guessing.
Still here? Good.

For React developers building or migrating production apps on the Next.js App Router who want battle-tested architecture instead of guesswork.

then this was forged for you.

Works with

Universal by design: these run in any AI. Delivered in the open Agent Skills + MCP format (native in Claude); ChatGPT, Gemini, Cursor and Copilot adapt the same files their own way.

  • Claude Native format
  • ChatGPT Adapts via open standards
  • Gemini Adapts via open standards
  • Cursor Adapts via open standards
  • Copilot Adapts via open standards
Questions · still in the air

Catch what's on your mind.

the air is clear. nothing between you and the forge.
catch a spark: the forge will answer

  1. We're migrating off the Pages Router. Does this cover that path or only new builds?

    Migration is one of the named use cases. The rendering-mode decision table and the full file-convention map are built to translate Pages Router habits, getServerSideProps thinking, _app structure, into their App Router equivalents, alongside the eight patterns you'll build with afterward.

  2. I've read the App Router docs end to end and still hesitate on server-versus-client calls, what do the eight patterns give me that the docs didn't?

    The docs describe each API in isolation; this packs eight copy-ready production patterns that combine them, plus the decision tables and server-versus-client do's and don'ts that the docs leave you to infer. It encodes the judgment calls, not just the API surface.

  3. Does it cover the Next.js 16 cache directives like use cache and cacheLife?

    No. This library targets the 14+ App Router foundation: Server Components, ISR with cache tags, Suspense streaming, Server Actions, and parallel routes. The Next.js 16 Cache Components model is a separate, deeper topic with its own dedicated skill.

  4. How is it delivered?

    By email right after purchase: ready to run, downloaded instantly, no setup wait.

  5. One-time or subscription?

    A one-time purchase; no subscription or hidden fees. VAT (20%) is included.

  6. Can I get a refund?

    As a digital product, it can’t be refunded once downloaded. That’s why we show exactly what’s inside and who it’s for, right here.