npmjs.org : api-refetch
Alternative to SWR or react-query. Hook that store your API calls and provide states as isLoading, isFetched, data, error. Allow to instantly fetch the API when the hook is mounted. Provide retry and revalidation options.
Registry
-
Source
- JSON
purl: pkg:npm/api-refetch
Keywords:
fetch
, api
, cache
, store
, session storage
, zustand
, revalidate
, loading
, data
, autoFetch
, retry
, async
, state
, react-query
, SWR
, autofetch
, session-storage
, swr
License: ISC
Latest release: 4 months ago
First release: 6 months ago
Downloads: 52 last month
Stars: 3 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 14 days ago