vue-query VS vueuse

Compare vue-query vs vueuse and see what are their differences.

vue-query

Hooks for fetching, caching and updating asynchronous data in Vue (by DamianOsipiuk)

vueuse

Collection of essential Vue Composition Utilities for Vue 2 and 3 (by vueuse)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
vue-query vueuse
16 86
1,082 18,471
- 2.4%
1.7 9.6
9 months ago 7 days ago
TypeScript TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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

Posts with mentions or reviews of vue-query. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-03.

vueuse

Posts with mentions or reviews of vueuse. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-19.
  • Implementing Tailwind CSS Dark Mode Toggle with No Flicker
    2 projects | dev.to | 19 Sep 2023
    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.
  • useHooks – A collection of Server Component safe React Hooks
    2 projects | /r/javascript | 30 May 2023
    Great library. Could use some improvements as said by other (tree shaking, add jsdocs, etc…). Just a quick reminder for the vuejs devs out there we have https://vueuse.org/
  • UseHooks – A Collection of Server Component Safe React Hooks
    8 projects | news.ycombinator.com | 30 May 2023
    Yeah, I figured useHooks was created without knowing about VueUse, but thought they might have become aware of it sense then. It makes sense, because though the code is heading in the direction of VueUse in terms of being maintained and well rounded, the structure of useHooks is quite a bit different. It has the code alongside the Markdown: https://github.com/vueuse/vueuse/tree/main/packages/integrat...
  • First Time at Vue
    3 projects | /r/vuejs | 17 May 2023
    Also take a look at https://vueuse.org/ which might save you some lines :)
  • Why isn’t everyone using <script setup>?
    2 projects | /r/vuejs | 8 May 2023
    For what it's worth my timeframe is very similar to yours! Started in 2019, no React / Angular. I think looking at great codebases like [VueUse](https://github.com/vueuse/vueuse) shows off the best of composition API.
  • Advice needed for Supabase + Pinia
    3 projects | /r/Nuxt | 20 Apr 2023
    And VueUse is an incredible addition too for cookies and so much more: https://vueuse.org/
  • Create a Shopping Cart with Vuejs and Pinia
    6 projects | dev.to | 19 Apr 2023
    Vueuse a collection of essential Vuejs composition utilities.
  • I still want to use options API for Vue 3
    2 projects | /r/vuejs | 27 Mar 2023
    It really depends on how complex is your application but as it grows bigger and complex the composition API let's you brake into more meaningful pieces. Take a look at https://vueuse.org maybe it sparks why some of us really love composition API
    2 projects | /r/vuejs | 27 Mar 2023
    Try this out. Take a Vue 3 project you are working on and make a copy of an existing component. Now rewrite that component using the composition API. See how you can group related code together inside the script setup, and then try pulling out a block of code into a composable. Again, do this with code organization in mind first. See if anything clicks for you (like it did for me). If not, then fair enough! Keep on using options. But if that starts to make sense, then you can start to explore some of the other benefits of the composition API. For that, I'd recommend browsing through the VueUse codebase to see how they set up their composition utilities.
  • vue 3 component library that uses vitest
    2 projects | /r/vuejs | 16 Mar 2023

What are some alternatives?

When comparing vue-query and vueuse you can also consider the following projects:

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]

swrv - Stale-while-revalidate data fetching for Vue

svelte-actions - prototype official actions for Svelte

vue-composable - Vue composition-api composable components. i18n, validation, pagination, fetch, etc. +50 different composables

react-select - The Select Component for React.js

vuex - 🗃️ Centralized State Management for Vue.js.

SWR - React Hooks for Data Fetching

vitesse - 🏕 Opinionated Vite + Vue Starter Template

zustand - 🐻 Bear necessities for state management in React

Quasar Framework - Quasar Framework - Build high-performance VueJS user interfaces in record time

vuetify - 🐉 Vue Component Framework

unbuild - 📦 An unified javascript build system