Skip to content
Learn Netverks

Lesson

Step 11/36 31% through track

parallel-intercepting-intro

Parallel and intercepting routes (intro)

Last reviewed May 28, 2026 Content v20260528
Track mode
client_nextjs
Means
In-browser Next.js (client components)
Reading
~1 min
Level
advanced

This lesson

An orientation to the Next.js track—how the playground works, vocabulary, and what you will build next.

You need a clear map of the Next.js track so hooks, state, and tooling do not feel like magic.

You will apply Parallel and intercepting routes (intro) in contexts like: Marketing sites, dashboards, e-commerce, and Vercel-style deployments that need hybrid static + dynamic pages.

Write TSX for Client Components, click Run—React 18 CDN + in-browser TSX compile; use client/server lessons explain App Router concepts; mountApp renders interactive UI; printOutput feeds the terminal. Also read the interview prep blocks.

After solid JavaScript—and ideally TypeScript—before starting the nextjs track.

Advanced App Router patterns let you render multiple pages in the same layout (parallel routes) or show a modal over the current page while preserving context (intercepting routes). You will see these in photo galleries, login modals, and split dashboards.

Parallel routes

Named slots use @folder syntax. A layout receives each slot as a prop:

app/dashboard/
  layout.tsx
  @analytics/page.tsx
  @team/page.tsx
  page.tsx
export default function Layout({
  children,
  analytics,
  team,
}: {
  children: React.ReactNode;
  analytics: React.ReactNode;
  team: React.ReactNode;
}) {
  return (
    <>
      {children}
      <section>{analytics}</section>
      <section>{team}</section>
    </>
  );
}

Intercepting routes

Soft navigation can show @modal/(..)photo/[id] while the URL reflects the full photo page—closing the modal returns to the feed without losing scroll position. Folders use (.), (..), (...) to intercept relative segments.

When to adopt

Start with simple routes. Add parallel/intercepting patterns when UX requirements demand simultaneous views or modal deep-linking—not on day one.

Self-check

  1. What does the @analytics folder represent?
  2. Why intercept a route instead of always navigating to a full page?

Interview tip Lesson completion confidence

Can you explain this lesson in 30 seconds without reading notes?

Not saved yet.

Playground

Runs in your browser in a sandboxed frame. Backend runners appear when this track’s profile allows them.

Check yourself

Multiple choice — immediate feedback.

Discussion

Past discussion is visible to everyone. Only logged-in users can post comments and replies.

Starter discussion topics

  • Parallel routes use case?
  • Intercepting modal pattern?

Sign up or log in to post comments and sync lesson progress across devices.

No discussion yet. Be the first to ask a question.

Jump