DEV Community

Discussion on: Creating a todo app in Elm

Collapse
 
rickbradford profile image
RickBradford

You can create reusable elements in Elm. But when each element needs to carry its own state, and becomes a component, this begins to clash with the Elm architecture.

As everything in Elm is immutable, you end up having to pass state up and down the line from model to component to sub-component and it quickly becomes complex.