On Sat, Mar 29, 2014 at 6:17 PM, Daniel Bell <[email protected]>wrote:

> One issue I've run into that Sean talks about below and in the slides is
> that explicit transact! calls in the event handlers require your components
> to know something about the structure of your application state.  While you
> can of course pull this out of components by using functions, it seems like
> a win to create a channel and get async benefits almost for free.  It does
> seem a bit cumbersome to be passing channels all the way down though.


The exact opposite is true. If you use transact! your components don't need
to know the structure of the application. If you use swap! your components
must know.

David

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