4 ms·
>Um... yea it does. Elm makes functional composition very easy which which means it's very easy to compose "components" (which are just functions anyway). It's
by foldr 7y ago
>Um... yea it does. Elm makes functional composition very easy which which means it's very easy to compose "components" (which are just functions anyway).
It's actually not that easy to write composable components in Elm, and attempting to do this has always been officially discouraged.
- henryscala 7y agoI personally think it depends on how we define components. ELM does not have components like Vue or ReactJs. ELM's components are just functions. For the example described in the below article, I think channelPanel and chatPanel can be looked as components. https://korban.net/posts/elm/2018-11-17-elm-ui-introduction/ https://korban.net/posts/elm/2018-11-17-elm-ui-introduction/