Next.js

1 course · 57 lessons

0 of 57 lessons complete0%

Nextjs Fundamentals

10 modules · 57 lessons

App Router

6 lessons
  1. Pages and layoutsfile-system routing (`page`, `layout`)
  2. Nested layoutsnested layouts and route segments
  3. Dynamic route segments`[slug]` and async `params`
  4. Reading search params`searchParams` and `useSearchParams`
  5. Prerendering dynamic routes`generateStaticParams` and ISR
  6. Intercepting requests`proxy.ts` and the matcher

Server & Client Components

6 lessons
  1. Server Components by defaultRSC and the RSC Payload
  2. The client boundary`'use client'`
  3. Interleaving server and clientcomposition via `children`
  4. Passing data across the boundaryserializable props
  5. Keeping server code on the server`server-only` / `client-only`
  6. The RSC attack surfaceRSC security (CVE-2025-66478)

Navigation

5 lessons
  1. Navigating with Link`<Link>` and client transitions
  2. Programmatic navigation`useRouter`
  3. Reading the current URL`usePathname` / `useLinkStatus`
  4. Streaming a route segment`loading.tsx`
  5. Prefetching and instant navigationPartial Prefetching

Data Fetching

7 lessons
  1. Fetching in a Server Componentasync Server Component + `fetch`
  2. Parallel data fetchingPromise.all fetching
  3. Deduplicating requests`React.cache`
  4. Preloading dataavoiding request waterfalls
  5. Streaming with Suspense`<Suspense>` and the static shell
  6. Route Handlers`route.ts` over `Request`/`Response`
  7. Reading a promise with `use``use(promise)` in a Client Component

Server Functions & Mutations

7 lessons
  1. Server Functions'use server'
  2. Submitting a form to an action<form action>
  3. Form state and validationuseActionState
  4. Optimistic updatesuseOptimistic
  5. Revalidating after a mutationrevalidatePath / revalidateTag
  6. Redirecting after a mutationredirect
  7. Authorizing Server Actionsauthz inside every action

Caching & Revalidation

8 lessons
  1. Cache Componentsuse cache
  2. Cache lifetimescacheLife profiles
  3. Tagging cached datacacheTag
  4. Stale-while-revalidaterevalidateTag(tag, profile)
  5. Read-your-writesupdateTag
  6. Refreshing uncached datarefresh()
  7. Partial Prerenderingthe static shell / PPR
  8. Static vs dynamic renderingruntime APIs and rendering

Optimization & Metadata

7 lessons
  1. Optimizing images`next/image`
  2. Self-hosting fonts`next/font`
  3. Metadata`metadata` / `generateMetadata`
  4. Generating OG images`ImageResponse`
  5. Lazy-loading components`next/dynamic`
  6. Error boundaries`error.tsx` / `catchError`
  7. Not-found UI`notFound` / `not-found.tsx`

Security

3 lessons
  1. The RSC remote-code-execution bugCVE-2025-66478 / CVE-2025-55182
  2. Staying patchedthe security release process
  3. A Data Access Layerserver-only data access

Deployment & Operations

4 lessons
  1. Deploying a Node.js serverdeployment targets
  2. Static export and its limitsoutput: 'export'
  3. Adaptersthe Deployment Adapter API
  4. Self-hosting and cache handlersserver cache storage

Next.js 16 Upgrade

4 lessons
  1. Async Request APIs`await params` / `cookies()` / `headers()`
  2. middleware → proxythe `proxy.ts` rename
  3. Turbopack by defaultthe default bundler
  4. React Compiler in Next.js`reactCompiler`