I didn't expect I'd teach you redux in 3 minutes. Here's more
Too serious? Try this
Livecoding is good only when you cheat
npm install redux-request-generator
There's different ways to get rid of boilerplate around requests.
With their benefits and drawbacks compared to this.
There's also an "official" one. It's showcased in this "real world" example
I also implemented a version with
founderlab/redux-request-middleware for comparison