Server Functions

Async functions marked with "use server" that run on the server but can be called from client components, for example as a form action.

In more detail

Frameworks that support React Server Components, such as Next.js, send the call to the server for you. Server Actions is the earlier name for those used as actions. With server rendering, forms bound to them can submit even before JavaScript has loaded.

Related terms

Taught in

References