On Wednesday, March 18, 2015 at 9:18:16 PM UTC+11, Colin Yates wrote: > Not to go too far down the 'communicate with local state' tangent, but > isn't a global event-bus (eg. a (chan)) sufficient? I use om and > app-state for all state (except projections) and haven't found any of > the given scenarios a challenge.
A global event bus is certainly a popular solution when you have distributed state and control, and you want the parts coordinated. PureMVC and many other OO frameworks take this approach. Sounds like some have taken this approach with OM too when coordinating components. It certainly works! With re-frame I tried to not have that problem in the first place (so then I didn't need a solution for it). -- Mike -- 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.
