Get Advice Icon

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

redux-thunk

754
185
+ 1
6
reselect

246
30
+ 1
0
Add tool

redux-thunk vs reselect: What are the differences?

redux-thunk: Thunk middleware for Redux. 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; 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-thunk and reselect can be primarily classified as "State Management Library" tools.

redux-thunk and reselect are both open source tools. It seems that reselect with 15K GitHub stars and 526 forks on GitHub has more adoption than redux-thunk with 12.6K GitHub stars and 682 GitHub forks.

Quizlet, LendingHome, and Gogo are some of the popular companies that use redux-thunk, whereas reselect is used by BlaBlaCar, LendingHome, and Captiv8. redux-thunk has a broader approval, being mentioned in 10 company stacks & 19 developers stacks; compared to reselect, which is listed in 7 company stacks and 6 developer stacks.

Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of redux-thunk
Pros of reselect
  • 6
    Easy
    Be the first to leave a pro

    Sign up to add or upvote prosMake informed product decisions

    82
    2.6K
    145
    391

    What is 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.

    What is reselect?

    Simple “selector” library for Redux (and others) inspired by getters in NuclearJS, subscriptions in re-frame and this proposal from speedskater.

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

    Jobs that mention redux-thunk and reselect as a desired skillset
    What companies use redux-thunk?
    What companies use reselect?
    Manage your open source components, licenses, and vulnerabilities
    Learn More

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

    What tools integrate with redux-thunk?
    What tools integrate with reselect?
    What are some alternatives to redux-thunk and reselect?
    redux-saga
    An alternative side effect model for Redux apps
    Redux Observable
    It allows developers to dispatch a function that returns an observable, promise or iterable of action(s). Compose and cancel async actions to create side effects and more.
    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.
    See all alternatives