by bayesian_horse · 4y ago · 0 comments
In general I want to keep async logic out of my components as much as possible. I also don't want the component rendering to drive the async logic.
The other big benefit is that you can test the reducer without the component. And compared to redux, it still has a smaller footprint. So it doesn't have the dependencies, you don't need to setup a store etc.