About Redux Thunk
Redux Thunk is a middleware that lets call action creators that return a function instead of an action object. That function receives the store's dispatch method, which is then used to dispatch regular synchronous actions inside the function's body once the asynchronous operations have been completed. So we can easily solve the backend side with this middleware.
Comments
Post a Comment