[elm-discuss] Re: Sending messages up the component tree in Elm 0.17

2016-07-13 Thread Erik Lott
Sandi, one way to manage component to component communication is to use ports and subscriptions: https://groups.google.com/d/msg/elm-discuss/i99LBvYSkpY/yQyk6WB0AAAJ Hope that helps. On Thursday, July 7, 2016 at 1:50:41 PM UTC-4, Sandi Dušić wrote: > > In Elm 0.16 the Architecture tutorial had o

Re: [elm-discuss] Re: Sending messages up the component tree in Elm 0.17

2016-07-09 Thread Sandi Dušić
So many decisions... Really hope Evan announces the official method soon. 2016-07-08 14:43 GMT+02:00 Adam Waselnuk : > I asked about this as well and tried an approach where you return a three > element tuple from the update function. The third element is a message for > the parent. This was sugg

[elm-discuss] Re: Sending messages up the component tree in Elm 0.17

2016-07-08 Thread Adam Waselnuk
I asked about this as well and tried an approach where you return a three element tuple from the update function. The third element is a message for the parent. This was suggested by Sporto. I built out a basic working example of that approach here: https://github.com/AWaselnuk/elm-nested-list