swrv
vue-query
Our great sponsors
swrv | vue-query | |
---|---|---|
5 | 16 | |
2,067 | 1,095 | |
0.8% | - | |
3.6 | 1.7 | |
9 months ago | 10 months ago | |
TypeScript | TypeScript | |
Apache License 2.0 | 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.
swrv
- Creating a realtime dashboard with Laravel Vue Inertia
-
How can I do it better? API Calls & loading state in Vuex
Check out swrv or vue-query, they do this for you. One or two people from the vuex core team work on swrv.
- Composition API code sharing FTW
-
Forever Functional: Memoizing Promises
For React, SWR is a library that provides these features, and it's also been ported to Vue as SWRV. React Query is another library that enables React (and React Native) apps to take advantage of all the features we've mentioned.
-
React Query for vue/nuxt?
I haven't tried it, but there's https://github.com/Kong/swrv
vue-query
-
What is useQuery (React Query) with Example - Developer Diary
I started using the Vue port of this recently, VueQuery. Once you understand that this replaces the need for a store (for data at least) then everything starts falling into place and its really easy to implement caching, infinite scrolling and other cool endpoint stuff.
-
Data Fetching in Vue
I use vue-query and would recommend it.
-
Having trouble understanding how to use Vuex
For server-side state I find something like https://github.com/DamianOsipiuk/vue-query to be nicer than Vuex, and then you can reserve Vuex for purely client-side state
-
Library for server state management
I think you are looking for https://github.com/DamianOsipiuk/vue-query It uses react-query/core under the hood.
-
Nuxt noobie: Is everything done server side ? Can I cache indefinitely until webhook ?
Are you looking for this? https://github.com/DamianOsipiuk/vue-query
-
Widget Driven Development
React-Query, SWR, Redux Toolkit Query, Vue Query for RESTful APIs
-
How can I do it better? API Calls & loading state in Vuex
Check out swrv or vue-query, they do this for you. One or two people from the vuex core team work on swrv.
-
State Management: Separation of Concerns
React Query is React specific, but its core was fully separated from React and it can be used to build solutions for other frameworks as well. Such solutions have already begun to emerge. For example, Vue Query.
- Fetch, cache and update data in your Vue 2/3 apps without touching any global state
-
Vuejs 2.6 / Apollo Reactive?
Hey, might give https://vue-query.vercel.app/ a try soon
What are some alternatives?
apollo - 🚀 Apollo/GraphQL integration for VueJS
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]
SWR - React Hooks for Data Fetching
axios - Promise based HTTP client for the browser and node.js
zustand - 🐻 Bear necessities for state management in React
jsonapi-vuex - Use a JSONAPI api with a Vuex store, with data restructuring/normalization.
FarFetch - Modern Fetch API wrapper for simplicity.
react-hook-form - 📋 React Hooks for form state management and validation (Web + React Native)
SapphireDb - SapphireDb Server, a self-hosted, easy to use realtime database for Asp.Net Core and EF Core
vueuse - Collection of essential Vue Composition Utilities for Vue 2 and 3