awesome-everything RU

Server Function

RU: Server Function

An async function marked with the 'use server' directive that executes exclusively on the server but can be called from a client component as if it were a regular function. The framework replaces it with a network stub; the client serializes arguments into an HTTP request, the server executes the function and returns a serialized result. When passed to a form action it is called a Server Action.

shortcuts expand
search
K
prev piece
k
next piece
j
cycle tier
t
this menu
?