tRPC × Next.js App RouterSource

Server Actions

Procedures wrapped in createAction work as Server Actions. Open an example to call testAction or rhfAction; their logs are in the server console.

useAction state

{
  "status": "idle"
}