Safe Action Hooks

next-safe-action/skills/skills/safe-action-hooks

by next-safe-actiona2605bd2e84321245cba8f5718c144a6e4a5fa47No licenseListed Oct 9, 2026Updated Oct 9, 2026

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

Only the file list is public. File contents are available once the skill is installed in a workspace.

PathSizeType
optimistic-updates.md3.5 KBtext/markdown
SKILL.md11.1 KBtext/markdown
status-callbacks.md5.9 KBtext/markdown
throw-on-navigation.md4.5 KBtext/markdown
use-action.md5.2 KBtext/markdown
use-optimistic-state-action.md21.9 KBtext/markdown
use-state-action.md9.2 KBtext/markdown

Source and attribution

Source:next-safe-action/skillsinskills/safe-action-hooksat commita2605bd

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal