I have a simple Om.next app:
(def app-state (atom {:key-a "foo" :key-b "bar}))
(defui Child
static om/IQuery
(query [this]
[:key-a :key-b])
Object
(render [this]
(let [{:keys [key-a key-b]} (om/props this)]
(dom/p nil (str "a is " a ", b is " b)
Using the trivial reader
http://read.klipse.tech/om-next-interactive-tutorial/
--
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