vswr
vanilla-swr
vswr | vanilla-swr | |
---|---|---|
2 | 1 | |
108 | 27 | |
- | - | |
0.0 | 0.0 | |
about 2 years ago | 5 months ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vswr
-
How do I cache the result of an axios request for subsequent loads?
You should look into the stale-while-revalidate pattern. Here is a vue implementation: https://github.com/ConsoleTVs/vswr
-
VSWR (Vue Stale While Revalidate) now supports <Suspense>
You can learn more by visiting: https://github.com/ConsoleTVs/vswr
vanilla-swr
What are some alternatives?
vue-query - Hooks for fetching, caching and updating asynchronous data in Vue
rapini - :leafy_green: OpenAPI to React Query (or SWR) & Axios
react-query - 🤖 Powerful asynchronous state management, server-state utilities and data fetching for TS/JS, React, Solid, Svelte and Vue. [Moved to: https://github.com/TanStack/query]
state-with-deps - Studying and understanding state with dependency tracking. A technique used in libraries like SWR.
abaca - OpenAPI TypeScript SDK generator with strong type guarantees and minimal boilerplate
client-side-rendering - A case study of CSR.
hyper-fetch - âš¡ Fetching and realtime data exchange framework.
sswr - 🔥 Svelte stale while revalidate (SWR) data fetching strategy
SWR - React Hooks for Data Fetching