React Query Server Action Errors

Handle expected Next.js Server Action errors with TanStack React Query mutations. Use when server actions, mutationFn, useMutation, onError toasts, throwOnError, QueryBoundary, ActionResult discriminated unions, translated error codes, or production-safe client error messages are involved. Do not use for generic React Query data fetching or unrelated form validation.

flpbalada 1b6f193 2.3 KB Updated

File contents

flpbalada/fb-skills/tree/main/skills/react-query-server-action-errors commit 1b6f1935a9

Frequently asked questions

npx skillmds@latest add flpbalada/react-query-server-action-errors