In Om, I didn't have to think about how to find the data in app-db to update as 
Om has cursors. In the cursorless world of re-frame, I am wondering what are 
favorite strategies for updating data deep inside a decently rich app-db tree.

ie, say I want to update a field that is in a map that is in a list in app-db. 
I want to update the :name value in one of the maps in :some-list:

(def app-db (atom
  {:some-list
    [{:id "asdfadfa" :name "Foo Bar" ...}
     {:id "gfdsalkjc" :name "Boo Baz" ...}
     ....]}))

This isn't so difficult to approach, but what about a field in a map in a list 
in a map in a list... You get the idea.

Cheers,

Jamie

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