Über Open CoDE Software Wiki Diskussionen GitLab

Skip to content

Draft: Elmos World Detail View

Manuel Jung requested to merge elmos-world-detail-view into elmos-world

I started to work with Elm and created the first draft for the Detail Page. I init the layout and created a toggle to expand/collapse the description. Can you review the current changes and say if this is "the elm way"?

My insights so far: I like the ideas of Elm (and FP in general) but Elm has a really bad developer experience. It is really hard to read the code (especially since css and html is mixed). It took me 2 hours to figure out how to update a field in a nested Maybe object... I will gain speed, but it will take some time to be really productive in Elm. But I will never be as productive as in React. But in the best case it will only double my time. I do not really have fun with Elm.

If your only point is the declarative api of Elm we can also use redux for state management. this is the js implementation of the elm architecture.

Merge request reports