According to the docs for IWillUpdate:

Note:: You cannot update local component state in this method. If you wish to 
change local state in response to prop changes use IWillReceiveProps.

I want to make sure I am interpreting this correctly. Seemed straightforward 
until I saw this:

https://github.com/swannodette/om/blob/master/examples/sortable/src/core.cljs#L249

Is this not at odds with the docs? Unless the docs are to be taken literally 
and update-state! cannot be used while set-state! can. I doubt that's the 
issue, but hopefully someone can clear it up.

Andrew

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