Skip to content

Glossary: Next.js Basics

Dynamic segment

Also written: [sku], dynamic route, dynamic routes

A folder named in square brackets, like `[sku]`, that matches any value in that part of the URL. One `page.js` then serves every product, and the value arrives in `params`.

Where the book teaches it

Related terms

paramsgenerateStaticParamsCatch-all segment