The documentation in the wiki on the function get-props
https://github.com/swannodette/om/wiki/Documentation#get-props
Doesn't seem correct to me, is it? Specifically:
om.core/get-props returns the cursor into the application state
associated with the Om component. A cursor is a piece of the application state
that knows how to update itself.
The source says:
(defn get-props
"Given an owning Pure node return the Om props. Analogous to React
component props."
[x]
(aget (.-props x) "__om_cursor"))
--
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.