DEV Community

Discussion on: I am the author of Elm in Action. Ask Me Anything!

Collapse
 
sebastiansebald profile image
Sebastian Sebald

Thanks you very much for your answer. No, I do not want to use the Elm Architecture in JS :)

To be more precise, I was wondering how the "update" function scales in the Elm Architecture, since I do not believe that Elm developers are using one big case statement for all possible messages. I think this is solved very well in Redux by composing reducers. I really dig the way all those small (pure) functions handle part of the application state. All the Elm example I saw didn't had that many messages, but I guess if your app grows you will also use some sort of composition to break the updates in smaller parts.

Thread Thread
 
rtfeldman profile image
Richard Feldman

Ah! I posted my thoughts on this over on /r/elm - hope that's useful!