Redux-Thunk is a middleware that allows Redux to return functions rather than actions. This allows you to work with promises while delaying actions. The primary applications of this middleware include handling potentially asynchronous actions, such as sending a GET request using Axios. We can dispatch actions asynchronously and complete each promise that is returned.
Table of contents
Setting Up Work EnvironmentsWhy Redux Thunk?What Exactly Is The Thunk Middleware?Open Source Session ReplayHow to Use Redux Thunk: Build a shopping cartHow Redux-Thunk Works Behind The SceneSumming UpSort: