Skip to content

Glossary: Next.js Beyond the Basics

"use server"

Also written: use server

A directive that marks the exported async functions in a file as server actions. Forms in the browser can call them, but they run on the server.

Where the book teaches it

Related terms

Server action