On Mon, Feb 24, 2014 at 1:28 PM, Colin Kahn <[email protected]> wrote:

> Hi David,
>
> I know you're busy, but could you elaborate a bit more? I would assume at
> some point you would need to construct a path of some sort since that seems
> to work best with om/transact!. The other alternative I could see is
> structuring the data in a more flat way, where the deps vector is just ids
> pointing to other items (that would eliminate the need for recursively
> traversing the tree to find the matching id).
>
> Thanks


Yes, sorry, this is exactly what I was trying to suggest. Then you don't
need to bother with paths.

As a general rule, I would avoid storing and manipulating paths. About the
only place where I've found this to be acceptable is consumers of
:tx-listen.

David

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