I’ve been trying to understand the Elm Architecture for a new iOS project. I kept reading over this article and thinking, “Wait a minute…. What’s the catch here? This seems too simple.” π§
π The Elm Architecture: Simple, yet powerful β An overview by example
I like that this architecture can be explained in a very short post with examples.
The beauty of The Elm Architecture lies in its simplicity.
That article is simple but assumes a web UI and explicit mentions HTML π. Here is a funnier and more useful article about Elm for iOS. π
π Elm architecture in iOS: Why you donβt need shit like RxSwift or MVVM
Elm architecture can be described as follows
msg -> Model -> View -> msg
I even made my own diagram just to make sure I “got” it. The devil is in the details, but I think this is right. π€·π»ββοΈ It definitely seems simpler than VIPER.
