Redux promise middleware enables robust handling of async code in Redux. The middleware enables optimistic updates and dispatches pending, fulfilled and rejected actions. It can be combined with redux-thunk to chain async actions. If you are curious to see how the middleware works, browse the source code on Sourcegraph!
To help cover the cost of my time spent maintaining open source software (OSS) projects, I'm looking for a small sponsor. If your company is interested, send me an email and we can chat! If you like my code and you're interested in buying me a drink, I have a Gratipay. Thanks! I greatly appreciate your support and I'm grateful to be a part of the OSS and GitHub community.