awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
gaearon avatar

gaearon/redux-thunk

0
View on GitHub↗
17,694 stars·1,019 forks·TypeScript·MIT·16 views

Redux Thunk

Redux-thunk is a middleware for Redux that enables action creators to return functions instead of plain objects. It serves as an asynchronous state management tool and functional action dispatcher that coordinates complex workflows and delays state updates until asynchronous tasks are complete.

This middleware grants action creators access to the store state and dispatch methods, allowing for the execution of conditional logic and the coordination of multiple asynchronous operations. It enables the injection of custom dependencies and service layers to decouple business logic from the core state management process.

The project covers the handling of asynchronous actions, client-side state logic, and the integration of custom logic into the Redux dispatch process to manage API calls and timed events.

Features

  • Asynchronous State Managers - Acts as a logic layer for Redux that coordinates complex workflows and delays state updates until async tasks complete.
  • Asynchronous Action Handling - Handles the lifecycle of asynchronous operations within actions to manage state transitions.
  • Action Dispatch Middleware - Wraps the store dispatch method to determine if an action should be executed as a function or processed as a standard object.
  • Action Dispatchers - Intercepts action creators to execute them as functions rather than passing plain objects to the reducer.
  • Functional State Transitions - Handles complex logic and asynchronous updates within a Redux store by dispatching functions.
  • Middleware Extensions - Extends the Redux dispatch process to enable custom logic, dependency injection, and state access.
  • Action Dispatchers - Provides a mechanism for action creators to access store state and dispatch methods for conditional logic.
  • Asynchronous Middleware - Provides middleware for Redux that enables action creators to return functions for handling asynchronous operations.
  • Asynchronous Dispatching - Allows background tasks to be performed and delays the final state update dispatch until specific conditions are met.
  • Deferred Execution - Implements deferred execution of state updates by allowing asynchronous logic to run before the final dispatch.
  • Async Flow Patterns - Coordinates multiple asynchronous operations using promises and async/await within action creators.
  • Higher-Order Function Wrapping - Wraps business logic inside functions that can be dispatched to handle cross-cutting async concerns.
  • Global State Stores - Allows action creators to read the current global state to execute conditional logic before updating the store.
  • Store Access Closures - Provides access to the store's state and dispatch methods within action creators using closures.
  • Client-Side Logic - Organizes business logic outside of UI components using functional action creators to coordinate state updates.
  • React - A JavaScript library for building user interfaces - Listed in the “React - A JavaScript library for building user interfaces” section of the Awesome Redux awesome list.
  • Side Effects - Listed in the “Side Effects” section of the Awesome Redux awesome list.

Star history

Star history chart for gaearon/redux-thunkStar history chart for gaearon/redux-thunk

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Redux Thunk

Similar open-source projects, ranked by how many features they share with Redux Thunk.
  • redux-observable/redux-observableredux-observable avatar

    redux-observable/redux-observable

    7,815View on GitHub↗

    Redux-Observable is a functional middleware for Redux that treats action streams as observables to manage complex asynchronous side effects and timing. It acts as an asynchronous action orchestrator, transforming streams of Redux actions into new actions through pipelines of observable-based side effects to coordinate application state changes. The project allows for the dynamic loading, injection, and replacement of side-effect streams at runtime. This enables the addition of asynchronous task handlers without requiring a full application restart, supporting code splitting and lazy loading o

    TypeScript
    View on GitHub↗7,815
  • reduxjs/redux-thunkreduxjs avatar

    reduxjs/redux-thunk

    17,695View on GitHub↗

    redux-thunk is a middleware for Redux that enables action creators to return functions instead of objects. This allows the store to handle asynchronous side effects and manage complex workflows and delayed state updates. The middleware acts as a side effect orchestrator that intercepts dispatched functions to execute asynchronous logic, such as API calls. It also functions as a dependency injection layer, allowing external services or mock objects to be passed into action creators to improve modularity and testability. The project provides capabilities for orchestrating control flow and coor

    TypeScript
    View on GitHub↗17,695
  • fcomb/redux-loggerfcomb avatar

    fcomb/redux-logger

    5,722View on GitHub↗

    redux-logger is a Redux state logger and JavaScript state debugger designed to record actions and state transitions in the browser console. It functions as middleware that captures state changes and action payloads within a Redux store to assist in debugging application flow. The project provides a console log formatter to customize the appearance of logs using colors, timestamps, and execution durations. It allows for the restriction of recorded actions through custom predicates to reduce console noise and includes capabilities to transform complex state data into readable formats. The tool

    JavaScript
    View on GitHub↗5,722
  • mobxjs/mobx-state-treemobxjs avatar

    mobxjs/mobx-state-tree

    7,050View on GitHub↗

    MobX State Tree is a structured, tree-based state management library for JavaScript applications that combines typed model definitions with reactive snapshots and patch-based change tracking. It provides a reactive state container with runtime and compile-time type safety, where application state is defined as a tree of typed models with collocated actions, computed views, and lifecycle hooks for predictable state mutations. The library is built around an action-centric mutation model that encapsulates all state changes within named functions that directly modify the tree, supported by genera

    TypeScripthacktoberfestmobxmobx-state-tree
    View on GitHub↗7,050
See all 30 alternatives to Redux Thunk→

Frequently asked questions

What does gaearon/redux-thunk do?

Redux-thunk is a middleware for Redux that enables action creators to return functions instead of plain objects. It serves as an asynchronous state management tool and functional action dispatcher that coordinates complex workflows and delays state updates until asynchronous tasks are complete.

What are the main features of gaearon/redux-thunk?

The main features of gaearon/redux-thunk are: Asynchronous State Managers, Asynchronous Action Handling, Action Dispatch Middleware, Action Dispatchers, Functional State Transitions, Middleware Extensions, Asynchronous Middleware, Asynchronous Dispatching.

What are some open-source alternatives to gaearon/redux-thunk?

Open-source alternatives to gaearon/redux-thunk include: redux-observable/redux-observable — Redux-Observable is a functional middleware for Redux that treats action streams as observables to manage complex… reduxjs/redux-thunk — redux-thunk is a middleware for Redux that enables action creators to return functions instead of objects. This allows… fcomb/redux-logger — redux-logger is a Redux state logger and JavaScript state debugger designed to record actions and state transitions in… mobxjs/mobx-state-tree — MobX State Tree is a structured, tree-based state management library for JavaScript applications that combines typed… reflux/refluxjs — Refluxjs is a state management library designed to implement a unidirectional dataflow architecture. It manages… rackt/redux — Redux is a JavaScript state management library that serves as a centralized state container for application data. It…