Sikau

Learn Next.js

Full React apps: routing, server components, data and deployment.

The React framework behind countless production sites. Build with the App Router: pages, layouts and dynamic routes, Server and Client Components, streaming, error handling, route handlers, server actions, caching, metadata and proxy — in a Next.js-style project that runs in your browser.

Intermediate · 19 lessons · about 10 hours · free

Start Next.js free: run real code in your browserright here

Continue with Google

What you will learn

Unit 1: App Router basics

Pages, layouts, links and dynamic routes.

  1. Day 1What is Next.js?React with routing, servers and data built in.25 min
  2. Day 2Routes and foldersNested routes, route groups and private folders.25 min
  3. Day 3LayoutsShared UI that wraps pages and keeps its state.25 min
  4. Day 4Linking and navigating<Link>, useRouter and usePathname.25 min
  5. Day 5Dynamic routesOne page file for many URLs: [slug].30 min
  6. Day 6Project: Café websitePages, layout, links and dynamic dish pages.40 min

Unit 2: Server and Client Components

Where code runs, streaming, errors and search params.

  1. Day 7Server ComponentsComponents that run on the server and fetch data directly.30 min
  2. Day 8Client Components"use client" for interactivity — and where to draw the line.30 min
  3. Day 9Loading UI and streamingShow the fast parts now and stream the slow parts.30 min
  4. Day 10Errors and not founderror.jsx, not-found.jsx and notFound().30 min
  5. Day 11Search paramsFilters and search in the URL.30 min
  6. Day 12Project: Café blogServer data, a client search box, dynamic posts and 404s.45 min

Unit 3: Data, mutations and shipping

APIs, server actions, caching, metadata, proxy and deployment.

  1. Day 13Route handlers (APIs)route.js answers HTTP requests.30 min
  2. Day 14Server Actions and formsChange data with a form — no API needed.35 min
  3. Day 15Caching and revalidation"use cache", cacheLife and fresh data on demand.30 min
  4. Day 16Metadata and SEOTitles, descriptions and share previews.25 min
  5. Day 17Proxy and protected pagesRun code before a request: redirects and simple auth checks.30 min
  6. Day 18Environment variables and deployingSecrets, build and ship.25 min
  7. Day 19Capstone: Order onlineDynamic pages, a client cart, a server action and an API.60 min

Before you start

These courses make Next.js easier:

See all courses

Built with ❤️ by dibe.sh