Just wanted to make sure that this should work. I'll try to build a test case, 
but I think that the following code is the problem:

 om/IRenderState
    (render-state [_ state]
      (let [services (get-in app-state[:selected-domain :services])
            first-name (:name (first services))]
        (println first-name)
        (if (:show state)
          (dom/div nil
                   (om/build header/component (get-in app-state 
[:selected-domain]))
                   (om/build customer-info/component (get-in app-state 
[:selected-domain :customer-info]))
                   (om/build service-info/component services
                             {:init-state {:selected-service first-name}}))
          (dom/span nil ""))))))

Maybe it is not a good idea to build components inside the render-state 
function ?

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