Skip to content

@zoijs/resource 0.1.0

Choose a tag to compare

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

The simplest async-read helper for Zoijs.

npm install @zoijs/core @zoijs/resource

API: resource(fetcher)data, loading, error, refresh. Loads once; latest-load-wins; clean dispose.

Solves: loading/error/success state for reads without rebuilding the pattern each time.

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

· npm · README