Sub cursors from an IOmRef instance won't themselves be IOmRefs. For
the time being we're going to stick to this.

I'd like to hear a lot more details about the use case before changing
my mind. It seems to me if you really need sub cursors to be ref
cursors you are not writing the API that you need for you application
and piggiebacking on ref cursors in an unintended way.

David

On Sat, Nov 1, 2014 at 12:10 AM, Todd Berman <[email protected]> wrote:
> I am running into an issue where it appears that a ref-sub-cursor 
> (https://github.com/swannodette/om/blob/master/src/om/core.cljs#L763) should 
> implement IOmRef, as it appears that -refresh-deps! is being called against 
> it, which won't work.
>
> I am able to make this happen when creating a reference cursor, passing a sub 
> cursor to a component, and then having that get passed to a third component 
> (basically, following the editable paradigm from the tutorials).
>
> I am still a relative newbie when it comes to the Om internals, so unclear 
> why this is happening in one case, but not in others.
>
> --Todd
>
> --
> 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.

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