Server Actions are functions that run on the server and can be invoked from forms or client components. They’re useful for mutations without building a separate API endpoint. Common restrictions: they must be async, arguments must be serializable, and they can’t access browser‑only APIs.
Expanding on the short answer — what usually matters in practice:
A tiny example (an explanation template):
// Example: discuss trade-offs for "server-actions-(`'use-server'`):-what-are-they-a"
function explain() {
// Start from the core idea:
// Server Actions are functions that run on the server and can be invoked from forms or clien
}