Practice

Next.js Practice

Every exercise and its solutions in one place. Work through a part's exercises after reading it, and come back here to revise.

Exercises by part

Part 01 · 7 exercisesProject setup and the App Router mental modelPart 02 · 9 exercisesFile-based routingPart 03 · 7 exercisesLayouts, templates and navigationPart 04 · 7 exercisesMetadata, fonts and static assetsPart 05 · 7 exercisesServer Components by defaultPart 06 · 8 exercisesClient Components and the boundaryPart 07 · 8 exercisesStreaming and SuspensePart 08 · 8 exercisesNext.js's rendering philosophyPart 09 · 7 exercisesData fetching in Server ComponentsPart 10 · 6 exercisesCaching with Cache ComponentsPart 11 · 7 exercisesRevalidationPart 12 · 9 exercisesServer Actions and formsPart 13 · 5 exercisesRoute HandlersPart 14 · 8 exercisesMiddleware and the request pipelinePart 15 · 5 exercisesAn auth patternPart 16 · 5 exercisesDatabase integrationPart 17 · 5 exercisesTesting and qualityPart 18 · 7 exercisesDeployment and observability

Projects

After Part 8Recipe BoxAfter Part 16QuickCart

Search the guide