|
|
|
|
|
by runawaybottle
2217 days ago
|
|
This kind of app architecture looks so disgusting, can’t be on board with this. I posted this article earlier today, but it will probably get lost: https://blog.usejournal.com/reducing-the-pain-of-developing-... It does a good job of explaining why the developer friendliness of this architecture is an impediment. Edit: I just don’t know even know what to say about how common this actions/reducer stuff is. Like really? We went from: fetch(url).then().error()
To this switch statement nonsense?I’m at a loss for words at how little effort we’re putting into reducing boilerplate, and making good usable apis. |
|
In terms of boilerplate, libraries like Xstate do a great job on that front. The goal here is to provide a from-the-ground-up overview of using explicit state machines.