Redux.js vs. redux-thunk



Hacker News, Reddit, Stack Overflow Stats

  • 2
  • 70
  • 0
  • -
  • 4
  • 1.22K

GitHub Stats

Description

What is Redux.js?

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.

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.

Want advice about which of these to choose?Ask the StackShare community!

Pros

Why do developers choose Redux.js?
Why do you like Redux.js?

Why do developers choose redux-thunk?
Why do you like redux-thunk?

Cons

What are the cons of using Redux.js?
Downsides of Redux.js?

What are the cons of using redux-thunk?
No Cons submitted yet for redux-thunk
Downsides of redux-thunk?

Companies

What companies use Redux.js?
1142 companies on StackShare use Redux.js
What companies use redux-thunk?
14 companies on StackShare use redux-thunk

Integrations

What tools integrate with Redux.js?
14 tools on StackShare integrate with Redux.js
What tools integrate with redux-thunk?
1 tools on StackShare integrate with redux-thunk

What are some alternatives to Redux.js and redux-thunk?

  • MobX - Simple, scalable state management
  • vuex - Centralized State Management for Vue.js.
  • redux-saga - An alternative side effect model for Redux apps
  • reselect - Selector library for Redux

See all alternatives to Redux.js

Latest News

Spring Tips: Bootiful Kotlin Redux
The what and why of Redux
React.js & Redux, Pretty Charts, Better Dashboards


Interest Over Time