For the app I'm working on, I would like to create some views that have no
update function or message. In 0.16, you could pass in extra addresses to a
view. The example in the elm architecture lumped them together in a Context
parameter.

I found this useful in 0.16 when creating very general views that didn't
manage their own state. This approach was analogous to when you pass in a
callback as a prop in React, if that helps.

How does one do this in 0.17?

Specifically I'm thinking about the use case of a general view function
that takes any HTML children, but has some events that need to fire (like
an accordion container opening and closing).

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