Posts tagged “server actions”
3 posts found
React useActionState in 2026: Replacing useReducer for Server-Driven Form Logic
September 26, 2026
The useActionState hook changes how teams handle form state in server-driven React applications. This post shows when it replaces useReducer and when it does not.
reactuseActionStateserver actions+2
Next.js after() API: Running Side Effects After the Response Without Blocking the User
September 5, 2026
The after() API in Next.js enables non-blocking side effects that execute after the response completes. Learn when to use it, how it differs from alternatives, and the production tradeoffs that matter.
nextjsperformanceserver actions+2
Next.js 16 Server Actions in Production: Patterns, Validation, and the Mistakes Teams Make at Scale
July 26, 2026
Most Server Actions fail at scale because teams treat them as internal functions instead of public POST endpoints. Learn the production patterns for authentication, validation, multi-tenant authorization, and choosing between Server Actions and Route Handlers in Next.js 16.
nextjsserver actionsreact+2