vue-query
vueuse

vue-query | vueuse | |
---|---|---|
16 | 93 | |
1,112 | 21,362 | |
0.1% | 0.8% | |
1.7 | 9.6 | |
about 2 years ago | 4 days 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.
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
vueuse
-
Exploring the Vue.js Ecosystem: Tools and Libraries That Make Development Fun
VueUse is packed with handy functions that enhance your Vue components. From managing mouse movements to simplifying form handling, VueUse makes your development toolkit richer. Best of all, there’s literally no cost to adding it to every new application. It’s tree-shakable composables only add to your bundle what you actually use.
-
Svelte 5 is not JavaScript
Here's an example of a Vue composable: https://github.com/vueuse/vueuse/blob/main/packages/core/use...
Here is an example of how it's used: https://github.com/vueuse/vueuse/blob/main/packages/core/use...
And the unit tests: https://github.com/vueuse/vueuse/blob/main/packages/core/use...
Another one from the same lib: https://github.com/vueuse/vueuse/blob/main/packages/core/use...
Unit test: https://github.com/vueuse/vueuse/blob/main/packages/core/use...
-
How to use an object with v-model in Vue
Extracting this logic into a reusable composable is a great way to streamline the process. But here’s the good news: we don’t even need to do that! The useVModel composable from VueUse handles this for us!
-
Top 10 Vue.js libraries you should be using in 2025
Vue Use is a collection of essential Vue Composition Utilities for Vue 2 and 3. It is a library that provides a set of reusable functions and utilities to help developers build Vue applications more efficiently and effectively.
-
2024 Nuxt3 Annual Ecosystem Summary🚀
Document address: VueUse Official Document
- React v19 has been released
-
Don’t reinvent the wheel! Or utility libraries for Vue and React applications
For Vue — it is, for example, vueuse. (vue utility functions)
-
Ask HN: Learn React or Vue?
My opinion: Vue, specifically the Vue 3 Composition API. Most of your app state should come from computed() values. Bookmark https://vueuse.org and come back to it often. Go through VueUse's source (the docs for each function link to their source): you'll be surprised at how simple most of it is, and it stands as documentation of best practices for using the composition API in general.
- Useful Vue Utils with VueUse
-
Implementing Tailwind CSS Dark Mode Toggle with No Flicker
Now, let’s talk about Vue! Once again, we’ll use an external library to handle dark mode simply and quickly. In this case, the library is called VueUse, and you can install it using the command npm i @vueuse/core --save.
What are some alternatives?
swrv - Stale-while-revalidate data fetching for Vue
vitesse - 🏕 Opinionated Vite + Vue Starter Template
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]
vuex - 🗃️ Centralized State Management for Vue.js.
apollo - 🚀 Apollo/GraphQL integration for VueJS
svelte-actions - prototype official actions for Svelte
