Skip to content

Glossary: Next.js Beyond the Basics

RouteContext, PageProps and LayoutProps

Also written: RouteContext, PageProps, LayoutProps

Type helpers Next.js generates, usable without an import, that type a route handler's context, a page's props and a layout's props. Params in them is a Promise.

Where the book teaches it

Related terms

Dynamic segmentPromise