Skip to content
Ship Like Crazy

What is Server action?

In Next.js, a function marked "use server" that your page can call but that only ever runs on the server. Under the hood it's a public endpoint, so it must check its inputs.

Learn it properly

Chapter 4: Chef Ravi's Kitchen

Servers and services, and why the kitchen sits behind a wall

Read chapter 4 →

Related terms