The way I model this is to have global state and global messages. This global state is updated in the Main
and sent down to the view
and the update
of pages as a form of context.
A very similar pattern is elm-shared-state (formerly elm-taco).
The way I model this is to have global state and global messages. This global state is updated in the Main
and sent down to the view
and the update
of pages as a form of context.
A very similar pattern is elm-shared-state (formerly elm-taco).