Understanding UI Components in Elm

This article does a nice job of comparing stateful vs stateless components in Elm. Managing state can seem difficult if you want separate state in components, but this constraint is often a blessing in the consistency and simplicity it forces in your app.

https://www.humio.com/blog/understanding-ui-components-in-elm/