My main app cursor has a field :circles which is a vector. My animator
component's render-state method needs these circles transformed into
animations. This is done by a function make-animations. The parent
component invokes om/build on the animator, passing (:circles cursor) as
the animator's cursor.

I find that whenever I try to invoke the function on :circles, it is a
cursor
and may not be dereferenced. This is true at all the places I have tried it:
1. in a :fn passed by the parent component as a member of the map in
om/build,
along with (:circles cursor).
2. within the animator's render-state itself,
and
3. in the animator's will-receive-props method. It is here that the docs
claim "This is a good place to detect app state changes and make updates to
local component state using om/set-state! or om/update-state!."

My question is: how?

Shanti,

Alan

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