- All Courses
- Next.js App Router in Depth
- Routing and Layouts
- Dynamic routes and route params
Dynamic routes and route params
Dynamic segments capture values out of the URL and hand them to your page. Pre-generating the known ones turns a database read into a static file.
- 8m
- Intermediate

Video by BuildBytesDaily · YouTube
Check your understanding
3 questions. Unlocks when you finish the video.
Overview
What this lesson covers
- Capture single, catch-all, and optional catch-all segments
- Read params and search params inside a page
- Pre-render known routes with generateStaticParams
This lesson sits in Routing and Layouts, part of Next.js App Router in Depth. It assumes what came before it and leads directly into the next lesson in the module.
In this lesson you will:
- Capture single, catch-all, and optional catch-all segments
- Read params and search params inside a page
- Pre-render known routes with generateStaticParams
Resources
Your notes will live here
Note taking is not available yet. Nothing you type would be saved, so the tab stays read-only for now.