[elm-discuss] Re: Separating model state structure from the view hierarchy

2017-08-01 Thread ajs
3:55:42 PM UTC+2, ajs wrote: > > I had an interesting discussion with several members on the #beginners > channel on Slack. It was suggested I post this out to the larger community > for input. > > As a quick background, I'm a professional Clojurescript developer for many &

Re: [elm-discuss] Passing whole state to each view function

2017-07-21 Thread ajs
> However, the downside of doing passing the entire model everywhere is that > you have to keep the entire model in your head when looking at any of your > view functions. This is correct, but how can you avoid passing the whole model to all views if the data model isn't structured similarly t

[elm-discuss] Separating model state structure from the view hierarchy

2017-07-21 Thread ajs
I had an interesting discussion with several members on the #beginners channel on Slack. It was suggested I post this out to the larger community for input. As a quick background, I'm a professional Clojurescript developer for many years, and have been through the early days of React (when it w