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 Updated 24 repo stars

File contents

flpbalada/fb-skills commit 1b6f1935a9

Frequently asked questions

npx get-skill add flpbalada/react-query-server-action-errors