I do exactly what you describe and it works perfectly.

I have all state in a single atom, one core.async channel for incoming events 
from the UI and/or the server and one function which listens to the channel and 
updates the state when events arrive.

The EventType.RESIZE handler simply pushes [:resize-viewport width height] on 
the core.async channel.

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