Software Alternatives, Accelerators & Startups

Zustand VS vuex

Compare Zustand VS vuex and see what are their differences

Zustand logo Zustand

Bear necessities for state management in React

vuex logo vuex

Centralized State Management for Vue.js
  • Zustand Landing page
    Landing page //
    2023-12-19
  • vuex Landing page
    Landing page //
    2023-08-27

Zustand videos

Why I Moved from React Redux to Zustand and Why You Should Too!

More videos:

  • Review - Code Review: Zustand (small & fast state-management for React)
  • Review - Mastering Typescript State using Zustand

vuex videos

LEARN VUEX IN 15 MINUTES (VUE.JS STATE MANAGEMENT) FOR 2020 // DAD JOKE GENERATOR APP -VUEX TUTORIAL

More videos:

  • Review - Using AXIOS in VUEJS with VUEX to consume the Backend API
  • Review - Creating a Better Vuex Experience | Tips by Example

Category Popularity

0-100% (relative to Zustand and vuex)
Javascript UI Libraries
29 29%
71% 71
Front-End Frameworks
36 36%
64% 64
JS Library
37 37%
63% 63
React Hooks
100 100%
0% 0

User comments

Share your experience with using Zustand and vuex. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, vuex seems to be a lot more popular than Zustand. While we know about 56 links to vuex, we've tracked only 1 mention of Zustand. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Zustand mentions (1)

  • State Management with Zustand
    As we all know state management can be challenging, especially when we have parent with nested children and passing props down from a parent component to children..and normally in the past I would use context from React together with a provider..but it happened that somewhere in the middle between the children the state wasn't updating correctly. So I was looking around for an alternative and came across with... - Source: dev.to / 9 days ago

vuex mentions (56)

  • You no longer need Vuex / Pinia for shared state in Vue.
    If you have been using Vue.js before 3.x you are probably familiar with Vuex now renamed Pinia. It allows you to have a centralized state that is shared across all your application components. If you have ever found yourself in situations where you are passing data/props between components and things are getting complicated, a centralized state is the answer. - Source: dev.to / 9 days ago
  • How to Protect State in Pinia
    Pinia is a relatively new state management tool for the Vue ecosystem. It is the new preferred state management tool recommended by the Vue core team replacing Vuex. Compared to Vuex, Pinia is type-safe by default (direct-vuex was needed to make Vuex type-safe), extremely lightweight, and modular by design (meaning you can create multiple stores instead of multiple modules inside one store, which optimises... - Source: dev.to / about 2 months ago
  • React or Vue, which JS framework is best?
    Vue.js also offers built-in features like animation and state management through Vuex which serve a wide range of development needs. - Source: dev.to / 3 months ago
  • Vue 3 vs Vue 2 so far? What's your opinion? Things I didn't like about Vue 3 compared to Vue 2
    I really liked the idea of how all the core Vue libraries are maintained by Vue team themselves, making Vue feels like an all-in-one package instead of infinite npm install to add multiple community/personally maintained repos which often caused issues because they don't blend together. And now Pinia will be officially replacing Vuex, making me doubt if it'll be as reliable as Vuex. Source: almost 1 year ago
  • Which one is the favor?
    Pinia. No discussion. Have you checked the Vuex website? It says Pinia is default. Https://vuex.vuejs.org/. Source: about 1 year ago
View more

What are some alternatives?

When comparing Zustand and vuex, you can also consider the following products

RxJS - Reactive Extensions for Javascript

MobX - Simple, scalable state management

react-context - Context provides a way to pass data through the component tree without having to pass props down manually at every level.

Redux.js - Predictable state container for JavaScript apps

Svelte - Cybernetically enhanced web apps

Vue.js - Reactive Components for Modern Web Interfaces