Skip to content

@zoijs/action 0.1.0

Choose a tag to compare

@jay-m2 jay-m2 released this 25 Jun 00:38
· 8 commits to main since this release

The write/mutation companion to resource.

npm install @zoijs/core @zoijs/action

API: action(fn)run, pending, error, done, result, reset. run() never rejects; latest-run-wins.

Solves: submit/save/delete button state (pending/error/done) without a form library.

Known limitations: no cache, retries, or optimistic updates; client-side only.

· npm · README