Server Components and Functions
Server Function
A callable server operation represented by a reference in client code; validate input and authorize mutations on the server.
Formal Syntax & Structure
react syntaxreact
async function save(formData){ 'use server'; /* check identity and permission */ }Working Example
Example Snippetreact
async function save(formData){ 'use server'; /* check identity and permission */ }