For the last few days I've learning about Elm, and it has been a refreshing experience. So much that I do not want to go back into JS land, :-(.
My problem is that I still do not see a way to produce a web app with elm, and I would love some guidance and advise:
evancz/start-app is great for organising the app's structure.
evancz/effects together with elmfire can handle talking to Firebase.
But how would I build and style the UI?
Let's take a concrete example: a styled select widget from Semantic-UI.
It is implemented as a list of divs, together with some JS to handle the dropdown and multi-select.
The alternatives I have found so far are:
- Include Semantic's CSS and JS (it requires JQuery) and use ports to hook into the widget's JS events.
- Include only Semantic's CSS and try to build the functionality in Elm.
- Both build the functionality and style in Elm (adam-r-kowalski/Elm-Css).
- Forget about Semantic and redo the site in Bootstrap using circuithub/elm-bootstrap-html.
Are there other alternatives, or widgets that could be reused that I am missing?
The TheSeamau5/TabbedPages container is certainly intimidating. Would others widgets require this much work?
Again, I'd love to use Elm for my project, but I do not have the knowledge nor the time to write all the widgets myself.
For context, the widgets I am using from Semantic are:
- Two hamburger menus, one on each side of the screen.
- A styled select.
- Disclosure triangles, hiding/showing more content.
- A carrousel-like display of images, with prev/next and dots at the bottom.
Thanks again for the work you are putting into Elm, and any advise you can give me.
PS: I have also posted this question in elm's mailing list.