React 91 ⚛️ Server Actions and Server-Side Mutations
Server Actions are the mechanism that lets a Client Component call an async function that executes on the server. The ‘use server’ directive marks a function or module as server-executable; the bundler replaces the implementation in the client bundle with a reference, and when the client calls that reference, React sends a POST request to…