vue-apollo VS vuex

Compare vue-apollo vs vuex and see what are their differences.

vue-apollo

🚀 Apollo/GraphQL integration for VueJS (by vuejs)

vuex

🗃️ Centralized State Management for Vue.js. (by vuejs)
Our great sponsors
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • Scout APM - A developer's best friend. Try free for 14-days
  • SaaSHub - Software Alternatives and Reviews
vue-apollo vuex
4 51
5,512 27,036
0.7% 0.8%
8.4 6.5
about 9 hours ago 12 days ago
JavaScript JavaScript
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-apollo

Posts with mentions or reviews of vue-apollo. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-09-12.

vuex

Posts with mentions or reviews of vuex. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-13.
  • Vuex With Class Components
    1 project | dev.to | 22 Nov 2021
    Helloooo, in this post I'll show you how you can use vuex with TypeScript and class-components.
  • How to work with Vue computed / data when working with props and actually changing the db data?
    1 project | reddit.com/r/webdev | 21 Nov 2021
  • State management in Vue 3: store pattern vs useX pattern
    6 projects | reddit.com/r/vuejs | 13 Nov 2021
    A use case was in the SO question that I linked earlier: https://stackoverflow.com/q/41503527, i.e. fetching some data from the state based on some arguments. There's also a more specific example and a longer discussion in https://github.com/vuejs/vuex/issues/145. Vuex just makes it more difficult than it needs to be. I prefer to define a standard method in Vue rather than create an artificial getter that returns a function. Higher order functions are ok when they're a natural solution for a problem, in this case they just feel like a hack. And it's not only how you define such a method, but also how you use it later. By mixing it with other getters and knowing that getters are cached, it's not obvious that in this case the returned data will not be cached.
    6 projects | reddit.com/r/vuejs | 13 Nov 2021
    Strange separation into actions and mutations, which requires additional boilerplate, yet doesn't seem to have significant advantage. See https://github.com/vuejs/vuex/issues/42.
    6 projects | reddit.com/r/vuejs | 13 Nov 2021
    Yes, getters are the equivalent of computed, the problem is that there's no direct equivalent of methods. Actions should not return values according to the devs: https://github.com/vuejs/vuex/issues/46.
  • Setting up Laravel 8 with Vue.js and Tailwind css
    6 projects | dev.to | 8 Nov 2021
    Vue-Router: is for routing pages using vue Vuex: is for state management. I'll be writing a post about this soon. E2E Testing: I use Cypress (new to it actually) its an automated UI testing library.
  • How to build an e-commerce site with Vue.js, Cloudinary and Auth0
    5 projects | dev.to | 17 Oct 2021
    As stated earlier, the applications state management will be handled with Vuex and this will be configured by running the code below in your terminal.
  • 🗜️ Optimal Tuple vs Record
    4 projects | dev.to | 13 Oct 2021
    What is a Store ? See Flux In-Depth Overview React uses Redux, Vue uses Vuex, Angular uses NgRx
  • Why and when you should use Vuex
    2 projects | dev.to | 13 Oct 2021
    In this blog post, I will try to do this in regards to Vuex while answering the following question:
  • Beginner's guide to state management
    3 projects | dev.to | 5 Oct 2021
    Vuex for Vue

What are some alternatives?

When comparing vue-apollo and vuex you can also consider the following projects:

pinia - 🍍 Intuitive, type safe, light and flexible Store for Vue using the composition api with DevTools support

urql - The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.

Gridsome - ⚡️ The Jamstack framework for Vue.js

vee-validate - ✅ Form Validation for Vue.js

Express - Fast, unopinionated, minimalist web framework for node.

react-query - ⚛️ Hooks for fetching, caching and updating asynchronous data in React

vueuse - Collection of essential Vue Composition Utilities for Vue 2 and 3

swrv - Stale-while-revalidate data fetching for Vue

breeze.js - Breeze for JavaScript clients

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

jQuery-menu-aim - jQuery plugin to fire events when user's cursor aims at particular dropdown menu items. For making responsive mega dropdowns like Amazon's.