(this is adapted from the redux-happy-async project I made earlier this year, but I think simplified in an easier-to-understand way)
Managing async action state in Redux is a very, very common topic of discussion. The classical way to do it is to create three action types (for start, error, and success), and then create boilerplate to set loading/error states for each action inside a reducer. This boilerplate adds up fast if you're creating an app with lots of async actions!
This library abstracts away this boilerplate with a ✨ magic ✨ requests
reducer that will handle storing and retrieving this state across your application.