Skip to content

Glossary: Next.js Basics

Directive

Also written: directives

A plain string at the top of a file or function, such as `"use client"` or `"use cache"`, that tells Next.js how to treat it.

Where the book teaches it

Related terms

"use client""use cache"