Skip to main content
Web Development

Next.js Tutorial with Examples.

Next.js 16 tutorial with real build output: the App Router, Server and Client Components, Route Handlers, Cache Components, Server Actions and proxy.ts.

Beginner

Start here — no prior experience needed

3 lessons

Intermediate

For developers with core concepts down

7 lessons
nextjs intermediate
5 min read

A Next.js 16 page reading connection() outside Suspense fails a real build; wrapping it in Suspense streams a hole, and instant = false blocks instead.

nextjs intermediate
5 min read

A Next.js 16 build fails fetching real data without "use cache"; the directive bakes one value into the build and reuses it until it expires.

nextjs intermediate
5 min read

Custom cacheLife profiles reshape a Next.js 16 route table's Revalidate/Expire columns; cacheTag plus revalidateTag invalidate a cached value on demand.

nextjs intermediate
5 min read

A Next.js 16 [slug] route awaits params as a Promise; generateStaticParams prerenders known paths, and Cache Components rejects dynamicParams: false.

nextjs intermediate
5 min read

A Server Action wired to a form is a real POST endpoint: curl submits it, server validation rejects bad input, and updateTag reflects the change at once.

nextjs intermediate
5 min read

Next.js 16 renamed middleware.ts to proxy.ts. A proxy redirects, rewrites, limits itself with matcher, and reads/sets a cookie — curl proves each one.

nextjs intermediate
5 min read

A layout's metadata export merges into every page below it with a title template; generateMetadata reads params; robots.ts/sitemap.ts generate real files.

Advanced

Production-grade patterns for experienced engineers

1 lesson

Also part of Next.js

Taught in other topics. Each link opens the lesson in its home topic.

3 lessons