On Friday, June 20, 2014 5:05:59 AM UTC-7, Antoine Choppin wrote:
> Thanks, Daniel, for posting this solution.
> I tried it and it works, with a small correction: the last line of the parent 
> component should read
>    :opts {:ch ch}}
> instead of
>    :opts ch}
> as the options passed to the child component are a map and not a single value

shouldn't it be better to pass parent's channel in :init-state ? 

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to