Redux

14.3K
9.6K
+ 1
633
vuex

835
657
+ 1
7
Add tool

Redux vs vuex: What are the differences?

Redux: Predictable state container for JavaScript apps. Redux helps you write applications that behave consistently, run in different environments (client, server, and native), and are easy to test. On top of that, it provides a great developer experience, such as live code editing combined with a time traveling debugger; vuex: Centralized State Management for Vue.js. Vuex is a state management pattern + library for Vue.js applications. It serves as a centralized store for all the components in an application, with rules ensuring that the state can only be mutated in a predictable fashion. It also integrates with Vue's official devtools extension to provide advanced features such as zero-config time-travel debugging and state snapshot export / import.

Redux and vuex can be primarily classified as "State Management Library" tools.

Redux and vuex are both open source tools. It seems that Redux with 49.2K GitHub stars and 12.7K forks on GitHub has more adoption than vuex with 20.7K GitHub stars and 6.67K GitHub forks.

Zapier, Clever, and WebbyLab are some of the popular companies that use Redux, whereas vuex is used by Flat, Cromon Media Services, and Toucan Toco. Redux has a broader approval, being mentioned in 1021 company stacks & 803 developers stacks; compared to vuex, which is listed in 48 company stacks and 71 developer stacks.

Pros of Redux
Pros of vuex

Sign up to add or upvote prosMake informed product decisions

Cons of Redux
Cons of vuex
    No cons available

    Sign up to add or upvote consMake informed product decisions

    What is Redux?

    It helps you write applications that behave consistently, run in different environments (client, server, and native), and are easy to test. t provides a great experience, such as live code editing combined with a time traveling debugger.

    What is vuex?

    Vuex is a state management pattern + library for Vue.js applications. It serves as a centralized store for all the components in an application, with rules ensuring that the state can only be mutated in a predictable fashion. It also integrates with Vue's official devtools extension to provide advanced features such as zero-config time-travel debugging and state snapshot export / import.
    What companies use Redux?
    What companies use vuex?

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Redux?
    What tools integrate with vuex?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    Blog Posts

    What are some alternatives to Redux and vuex?
    Cycle.js
    A functional and reactive JavaScript framework for predictable code
    MobX
    MobX is a battle tested library that makes state management simple and scalable by transparently applying functional reactive programming (TFRP). React and MobX together are a powerful combination. React renders the application state by providing mechanisms to translate it into a tree of renderable components. MobX provides the mechanism to store and update the application state that React then uses.
    Flux
    Flux is the application architecture that Facebook uses for building client-side web applications. It complements React's composable view components by utilizing a unidirectional data flow. It's more of a pattern rather than a formal framework, and you can start using Flux immediately without a lot of new code.
    React
    Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
    RxJS
    RxJS is a library for reactive programming using Observables, to make it easier to compose asynchronous or callback-based code. This project is a rewrite of Reactive-Extensions/RxJS with better performance, better modularity, better debuggable call stacks, while staying mostly backwards compatible, with some breaking changes that reduce the API surface.
    See all alternatives
    Interest over time
    News about vuex
    More news