Safe Action Hooks

Use when executing next-safe-action actions from React client components or building optimistic UI -- useAction, useOptimisticAction, useStateAction, useOptimisticStateAction, status/callbacks (onSuccess/onError/onSettled), execute vs executeAsync, formAction, reset, and queued or serialized mutations such as drag-to-reorder, Kanban boards, overlapping saves, accumulating changes, and shared pending-change lists

next-safe-action Updated

File contents

next-safe-action/skills/tree/main/skills/safe-action-hooks commit 8f202abc20

Frequently asked questions

npx skillmds@latest add next-safe-action/safe-action-hooks