I hadn't got to the Intermediate Tutorial when I wrote that comment
about channels passed into component state. The Intermediate Tutorial
uses shared global state for channel communication. That seems cleaner
than "manual" dependency injection... but declarative dependency
injection would be cool :)

Sean

On Sat, Mar 29, 2014 at 9:26 PM, Daniel Bell <[email protected]> wrote:
> Oh, and I don't mean to sound like I'm running around with my head cut off.  
> As I mentioned in the blog post and S. Corfield mentioned earlier, passing 
> channels in as part of the :init-state map works fine.  That said, since this 
> thread has enlightened me as to the existence of get-shared, I suspect that 
> that is a more natural home for channel with application-wide effects that 
> need to be accessible from within components..
>
> --
> 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.



-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)

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