Skip to content

Glossary: Next.js Basics

searchParams

A prop every page receives, as a promise, holding its query string values. For /shop?category=mugs, it gives `{ category: "mugs" }`. Await it inside `<Suspense>`.

Where the book teaches it

Related terms

Query stringparamsSuspense