Module 1
01 · App Router, Pages & Layouts
Structure modern Next.js apps with file-based routing, shared layouts, and Link prefetching.
Roadmap 02 · 4–6 weeks
A central-spine milestone tree taking React developers from App Router file routing and Layouts to Server Components, caching, Route Handlers, Server Actions, SEO, and production deployment.
App Router Setup
File-Based Routing & Groups
Structure modern Next.js apps with file-based routing, shared layouts, and Link prefetching.
Layouts vs Templates
<Link> & useRouter()
Server vs Client Components
Keep heavy logic and data fetching on the server and isolate browser interactivity.
Data Fetching & Memoization
Caching & Revalidation
Static (SSG) vs Dynamic (SSR)
Choose static CDN builds or per-request SSR, stream with Suspense, and build [slug] routes.
Dynamic Routes ([id])
API Route Handlers (route.ts)
Server Actions ('use server')
Loading, Error & notFound()
Build backend endpoints, Server Actions, error UI, optimized assets, SEO metadata, and middleware.
Styling, next/image & next/font
Metadata API & SEO
Middleware & Production Deploy