Redux Thunk is Thunk middleware for Redux. With basic Redux, only simple synchronous updates can be done by dispatching an action. By adding middleware, you extend the Redux store's abilities, enabling you to write async logic that interacts with the store.

A thunk is a function that wraps an expression in order to delay its evaluation. Redux Thunk middleware allows you to write action creators that, rather than return an action will return a function instead. If you want to delay the dispatch of an action, or to dispatch only after meeting a certain condition, then the thunk can be used.

Thunks are ideal middleware for a number of cases, in particular for basic Redux side effects logic, complex synchronous logic that must access the store, and simple async logic like AJAX requests.

Features

  • Customizes dispatch function
  • Supports injecting a custom argument

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow Redux Thunk

Redux Thunk Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Redux Thunk!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

JavaScript, TypeScript

Related Categories

JavaScript Frameworks, TypeScript Frameworks

Registered

2020-11-12