Need advice about which tool to choose?Ask the StackShare community!
Redux vs reselect: 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; reselect: Selector library for Redux. Simple “selector” library for Redux (and others) inspired by getters in NuclearJS, subscriptions in re-frame and this proposal from speedskater.
Redux and reselect belong to "State Management Library" category of the tech stack.
Redux and reselect are both open source tools. It seems that Redux with 49.2K GitHub stars and 12.7K forks on GitHub has more adoption than reselect with 14.9K GitHub stars and 522 GitHub forks.
Instagram, Intuit, and Code School are some of the popular companies that use Redux, whereas reselect is used by BlaBlaCar, LendingHome, and Captiv8. Redux has a broader approval, being mentioned in 1021 company stacks & 804 developers stacks; compared to reselect, which is listed in 7 company stacks and 6 developer stacks.
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 reselect
Sign up to add or upvote prosMake informed product decisions
Cons of Redux
- Lots of boilerplate13
- Verbose6
- Steep learning curve5
- Design5
- Steeper learning curve than RxJs4
- Steeper learning curve than MobX4