Skip to content

Glossary: React Beyond the Basics

directive

Also written: directives

A string on the first line of a file, such as "use client", that tells the bundler how to treat that file.

Where the book teaches it

Related terms

"use client"bundler