Need advice about which tool to choose?Ask the StackShare community!
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn MorePros of Redux
Pros of vuex
Pros of Redux
- State is predictable191
- Plays well with React and others150
- State stored in a single object tree126
- Hot reloading out of the box79
- Allows for time travel74
- You can log everything14
- Great tutorial direct from the creator12
- Endorsed by the creator of Flux7
- Test without browser7
- Easy to debug6
- Enforces one-way data flow3
- Granular updates3
- Blabla2
Pros of vuex
- Debugging2
- Zero-config time-travel2
- Centralized State Management2
- Easy to setup1
Cons of Redux
Cons of vuex
Cons of Redux
- Lots of boilerplate13
- Verbose6
- Steep learning curve5
- Design5
- Steeper learning curve than RxJs4
- Steeper learning curve than MobX4
Cons of vuex
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!
Jobs that mention Redux and vuex as a desired skillset
What companies use Redux?
What companies use vuex?
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?
What tools integrate with Redux?
Blog Posts
What are some alternatives to Redux and vuex?
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.
redux-thunk
Redux Thunk middleware allows you to write action creators that return a function instead of an action. The thunk can be used to delay the dispatch of an action, or to dispatch only if a certain condition is met. The inner function receives the store methods dispatch and getState as parameters.
redux-saga
An alternative side effect model for Redux apps
reselect
Simple “selector” library for Redux (and others) inspired by getters in NuclearJS, subscriptions in re-frame and this proposal from speedskater.
Zustand
Small, fast and scaleable bearbones state-management solution. Has a comfy api based on hooks, that isn't boilerplatey or opinionated, but still just enough to be explicit and flux-like.