The biggest problems with Elm for me was (and maybe are):
- What is tagged type and how and why to use it.
- Cmd, Msg, Task, Subscription, effects - translation for a JS developer,
please.
- SPA routing (still a pain for something little more complex than "hello
world")
- Where is my UI
Not only me asking this questions.
https://groups.google.com/forum/#!msg/elm-discuss/u3J2eSThkjw/4FT3p50uBAAJ
and http://blog.jenkster.com/2016/04/how-i-structure-elm-apps.html
On of the interesting solutions https://github.com/folkertdev/outmessage
another
@Richard
Thank you for this example. But I don't see how to properly trigger my
"ratings" storage reload action if user state changed.
Another question, What do you think about pages separation?
For example, I have several independent tabs and one of the tabs called
"Rating" and It has some
@Nick "triplet" is commonly used shortcut for model, update, view
functions.
https://www.youtube.com/watch?v=LCNs92YQjhw=youtu.be=21m09s
@Richard
Thank you for your response, I really appreciate it! As I said before, I
can be totally wrong.
Put another way, *Elm does not have anything
@Rupert Smith
Your module for pub/sub looks great! I will be useful for a lot of people
like me. I think you should publish it.
Can you add a README or provide few examples how to use it properly?
@Nick H
I also thought about this
> type Action = Loaded | UserInfo UserInfo.Action | Ratings
Hi All,
I know that Elm doesn't have the concept of components but instead it has
triplets. They should behave similar to components, they encapsulate
internal implementations.
I use this concept in my App and I faced some architectural questions. What
is the proper or better way to communicate