reduxjs/redux-thunk
Thunk middleware for Redux observed · 2026-08-28
Health v2 · maintenance only
28/100
- Activity 11
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4069
- days_rel: n/a
- days_push: 536
- n_releases_24m: 0
Adoption not part of the score
17678 stars · 1017 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Redux Thunk is the official thunk middleware for Redux that lets you write action creator functions containing logic which can interact with the store's dispatch and getState methods. It is included by default in Redux Toolkit and can be added manually to a classic Redux store via applyMiddleware.
Use cases
- dispatch async actions like API fetches from Redux
- access current state inside action creators
- inject a custom API service argument into thunks for testing
- conditionally dispatch multiple actions based on state
- write reusable logic functions that interact with the Redux store
When to choose
- you use Redux and need to handle async logic or side effects in action creators
- you use Redux Toolkit, which bundles this middleware by default
- you want a tiny, battle-tested middleware with a simple function-based pattern
When to avoid
- you use Redux Toolkit's createAsyncThunk or RTK Query for data fetching
- you use a state management library with built-in async support like Zustand or MobX
- you need more powerful effect handling such as sagas or observables
Facets
library · maturity stable
middleware state-management frontend web-development developer-tools browser cross-platform redux thunk async-actions side-effects typescript nodejs
2 sources
- readme: https://github.com/reduxjs/redux-thunk · fetched 2026-08-28 · f6cf299c58f5
- registry_npm: https://registry.npmjs.org/redux-thunk · fetched 2026-08-29 · fb7496d234e7
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| reduxjs/redux-thunk | main | 28 |
For agents
markdown · JSON · MCP: product_card(name="reduxjs/redux-thunk")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem