Skip to content

Glossary: Next.js Basics

params

A prop every page receives, as a promise, holding the values of its dynamic segments. For /shop/ESP-12, `await params` gives `{ sku: "ESP-12" }`.

Where the book teaches it

Related terms

Dynamic segmentsearchParams