On Tuesday, September 20, 2016 at 5:03:15 PM UTC+1, Rupert Smith wrote:
>
> On Tuesday, September 20, 2016 at 12:30:03 PM UTC+1, Gusztáv Szikszai 
> wrote:
>>
>> Also maybe you don't know but I've created Elm-UI <http://elm-ui.info> 
>> just for the same reason: to quickly build stuff from the same components 
>> just like Bootstrap. And it solves many of the problems that seems you are 
>> facing, the downside of it is that it's not in the official repository 
>> because well it "doesn't play nice". It uses the standard TEA where 
>> components with their own state and I think that is just fine it doesn't 
>> need to be more simple or complicated then that. And the communication is 
>> solved by allowing the components to publish messages to anyone who is 
>> subscribing to them.
>>
>
> I'm intrigued. How did you implement the component pub/sub bit? 
>

Found it:

https://github.com/gdotdesign/elm-ui/blob/master/source/Ui/Helpers/Emitter.elm

This looks very useful to me. 

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to