# Redux Thunk

Redux middleware that lets action creators return functions, which can dispatch actions and read the store state.


Source: https://findsoftware.frbit.cloud/redux-thunk/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- repository: https://github.com/reduxjs/redux-thunk
- docs: https://redux.js.org/usage/writing-logic-thunks

### Identity

- status: active
- maintainer: Dan Abramov
- maintainerType: unknown
- parent: unknown
- firstRelease: 2015
- hqCountry: unknown

### Kind

- category: library
- hosting: unknown
- language: javascript
- runtime: unknown
- runtimeMin: unknown
- basedOn: redux

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: npm

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 3
- latestReleaseDate: 2023-12-04

### Adoption

- githubStargazers: 17654
- packagistDownloads: not applicable
- npmWeeklyDownloads: 49830643
- contributors: 49
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 591408
- dependentPackages: 7365

### Sources

- urls: https://api.github.com/repos/reduxjs/redux-thunk (read 2026-11-16)
- urls: https://redux.js.org/usage/writing-logic-thunks (read 2026-11-16)
- category: https://github.com/reduxjs/redux-thunk/blob/master/README.md (read 2026-11-16)
- language: https://api.github.com/repos/reduxjs/redux-thunk (read 2026-11-16)
- basedOn: https://github.com/reduxjs/redux-thunk/blob/master/README.md (read 2026-11-16)
- installMethod: https://github.com/reduxjs/redux-thunk/blob/master/README.md (read 2026-11-16)
- license: https://api.github.com/repos/reduxjs/redux-thunk (read 2026-11-16)
- maintainer: https://github.com/reduxjs/redux-thunk/blob/master/LICENSE.md (read 2026-11-16)
- firstRelease: https://github.com/reduxjs/redux-thunk/releases/tag/v0.1.0 (read 2026-11-16)
- currentMajor: https://github.com/reduxjs/redux-thunk/releases/tag/v3.1.0 (read 2026-11-16)
- latestReleaseDate: https://github.com/reduxjs/redux-thunk/releases/tag/v3.1.0 (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/reduxjs/redux-thunk (read 2026-11-16)
- contributors: https://api.github.com/repos/reduxjs/redux-thunk/contributors?per_page=1 (read 2026-11-16)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-11-01:2026-11-07/redux-thunk (read 2026-11-16)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/redux-thunk (read 2026-11-16)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/redux-thunk (read 2026-11-16)

## Notes

Redux Thunk is middleware for Redux that lets an action creator return a function instead of a plain action object. The middleware calls that function with the store's `dispatch` and `getState` methods, so the function can read the current state and dispatch actions at a later time or only when a condition is met. The [Redux documentation on thunks](https://redux.js.org/usage/writing-logic-thunks) describes the pattern in more detail.

With Redux's `createStore`, the middleware is installed through `applyMiddleware`. Redux Toolkit's `configureStore` adds it by default.

## Worth knowing

The thunk middleware is not part of the Redux core library, so a store set up by hand needs the package added.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
