4 ms·
Being restricted to only one central place means you have to wire everything to that central place. This usually results in writing manually mapping boilerplate
by hobofan 4y ago
Being restricted to only one central place means you have to wire everything to that central place. This usually results in writing manually mapping boilerplate between X different message types, which is one of the worst parts in every Elm(-inspired) project I've seen.
- KasMA1990 4y agoYeah, if you do mapping all over like that, it can get really bad. The solution, I feel, is to avoid the mapping by pushing more things closer to that central place (as outlined in the article). At least this works well for us when building a web client, but I can't speak to how easy it is if you're using that architecture for other purposes.