Again, I recommend you to look at ref cursors. The general portion black om magic I use for this is:
Put the app-state atom in :shared when mounting under a key you like. Then write a simple wrapper about the fns exposed for ref cursoring so that you can access any portion of the app-state you like as a ref cursor from the current components owner. The only caveat is that you need some cursor available at the korks you are creating your ref cursor at. If nothing is there, you can't create a ref cursor from it. https://github.com/omcljs/om/wiki/Advanced-Tutorial#reference-cursors I think ref cursors are of great utility if used sparsely, e. g. for things like the currently signed in user. -- 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.
