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
Enterprise-grade ITSM, for every business Icon
Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity.

Freshservice is an intuitive, AI-powered platform that helps IT, operations, and business teams deliver exceptional service without the usual complexity. Automate repetitive tasks, resolve issues faster, and provide seamless support across the organization. From managing incidents and assets to driving smarter decisions, Freshservice makes it easy to stay efficient and scale with confidence.
Try it 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