Would it be possible in your architecture to  perform server requests at the 
highest level of your application? You would then send a a->Msg to each sub 
component. That way server requests would only be performed in one place where 
you could fine-tune how you want them performed.
This comes from Richard's answer to a question I had on composability. 
Components should only update their own private non-shared state that other 
components don't need. Shared states such as your server queue are updated at 
the highest level and each sub component merely receives a function to run the 
update.
Does that make sense in your context?

-- 
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