Redux vs vuex

Need advice about which tool to choose?Ask the StackShare community!

Redux

31K
23.6K
+ 1
674
vuex

1.5K
926
+ 1
7
Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of Redux
Pros of vuex
  • 191
    State is predictable
  • 150
    Plays well with React and others
  • 126
    State stored in a single object tree
  • 79
    Hot reloading out of the box
  • 74
    Allows for time travel
  • 14
    You can log everything
  • 12
    Great tutorial direct from the creator
  • 7
    Endorsed by the creator of Flux
  • 7
    Test without browser
  • 6
    Easy to debug
  • 3
    Enforces one-way data flow
  • 3
    Granular updates
  • 2
    Blabla
  • 2
    Debugging
  • 2
    Zero-config time-travel
  • 2
    Centralized State Management
  • 1
    Easy to setup
Cons of Redux
Cons of vuex
  • 13
    Lots of boilerplate
  • 6
    Verbose
  • 5
    Steep learning curve
  • 5
    Design
  • 4
    Steeper learning curve than RxJs
  • 4
    Steeper learning curve than MobX
    Be the first to leave a con
    - No public GitHub repository available -

    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.

    Need advice about which tool to choose?Ask the StackShare community!

    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?

    Blog Posts

    JavaScriptGitHubReact+12
    5
    4334
    Oct 11 2019 at 2:36PM

    LogRocket

    JavaScriptReactAngularJS+8
    5
    2108
    Vue.jsSpring BootUnity+7
    2
    1341
    JavaScriptGitHubNode.js+29
    14
    13834
    GitHubPythonReact+42
    49
    41246
    GitHubPythonNode.js+47
    55
    73229
    What are some alternatives to Redux and vuex?
    jQuery
    jQuery is a cross-platform JavaScript library designed to simplify the client-side scripting of HTML.
    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.
    AngularJS
    AngularJS lets you write client-side web applications as if you had a smarter browser. It lets you use good old HTML (or HAML, Jade and friends!) as your template language and lets you extend HTML’s syntax to express your application’s components clearly and succinctly. It automatically synchronizes data from your UI (view) with your JavaScript objects (model) through 2-way data binding.
    Vue.js
    It is a library for building interactive web interfaces. It provides data-reactive components with a simple and flexible API.
    jQuery UI
    Whether you're building highly interactive web applications or you just need to add a date picker to a form control, jQuery UI is the perfect choice.