Hello, everybody! I'm new to Elm and I like its architecture very much. Except one nuance annoys me. If you take e.g. CycleJS there we observe view's events by selectors external to view. I.e. view is not responsible for routing its events. That responsibility is given to another part of code, which creates Observables. So, we can use Jade/Pug or another templating technology and cleanly separate view declaration and events listening declaration. Considering that Elm is functional language, there can be some pattern that aims to achieve the same result, so I could write View and Observables in different sections.
It would be great to know your opinion and experience. Best regards! Ilja Tollu -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.