Where can I find more information about that Config approach? I'm not able to find a way to organise multiple page applications that I like.
On Wed, Mar 29, 2017 at 6:24 AM, Peter Damoc <[email protected]> wrote: > If you have a series of pages that each has Cmds and you have these pages > unified under one app, you need to lift each page Cmd to become an app Cmd. > > There used to be a nesting architecture where this was demonstrated but > now that's been dropped in favor of the Config approach. > > > > On Wed, Mar 29, 2017 at 1:09 AM, Brian Marick <[email protected]> wrote: > >> I’m having trouble thinking of a scenario in which you’d use `Cmd.map`. >> >> Is it for a case where you create a `Cmd a` where `a` is something >> different than the usual `Msg`, then transform it into a `Msg`? (When would >> you do such a thing?) >> >> Or for a case where you want to change the `Msg` constructor that `Cmd` >> “wraps”? (Ditto.) >> >> -- >> 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. >> > > > > -- > There is NO FATE, we are the creators. > blog: http://damoc.ro/ > > -- > 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. > -- Juan -- 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.
