>
>
>    - Any html returned from the app are descriptions of side effects to 
>    the DOM specifically and Elm takes care of that as well
>
> As Laszlo says, this is incorrect, at least conceptually. *Html Msg* means 
a description of HTML, independent of any existing HTML, whose events 
(button clicks, mouseovers) show up as a Msg in your update function.

I suppose it would be possible to fire an XHR request from the view code 
that makes the *Html Msg* but it's a very bad idea! The messages that the 
HTML sends should be effect-free descriptions of (1) the relevant 
information about the event (2) which element the event came from. 

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