I think I understand the difference now, there's no notion of a render-phase there, we have one in Om and it interacts conceptually with these references.
Thanks (I hope I understand it right :) On Sat, Oct 18, 2014 at 12:53 PM, David Nolen <[email protected]> wrote: > In anycase - no, this isn't related in anyway whatsoever to reference > cursors :) > > David > > On Sat, Oct 18, 2014 at 12:47 PM, Gary Trakhman <[email protected]> > wrote: > > I think before, you could only grab a subcursor in the render method. In > > the facebook impl, I think you end up with a subreference that you can > then > > deref at any time. > > > > On Sat, Oct 18, 2014 at 12:40 PM, David Nolen <[email protected]> > > wrote: > >> > >> No, getting sub cursors from cursors has been supported since cursors > >> were first introduced. > >> > >> On Sat, Oct 18, 2014 at 12:21 PM, Gary Trakhman < > [email protected]> > >> wrote: > >> > Is this analagous to facebook's cursor.cursor(subPath) method? > >> > > >> > > https://github.com/facebook/immutable-js/blob/master/src/Cursor.js#L68 > >> > > >> > On Sat, Oct 18, 2014 at 12:17 PM, Dave Della Costa > >> > <[email protected]> > >> > wrote: > >> >> > >> >> This is a great move, and I think exactly right--it addresses my main > >> >> frustration when developing at scale with Om. I look forward to > >> >> testing > >> >> this out and will definitely be giving feedback. Kudos, David. > >> >> > >> >> DD > >> >> > >> >> (2014/10/19 0:53), David Nolen wrote: > >> >> > I'm happy to announce the release of Om 0.8.0-alpha1. This release > >> >> > includes the single biggest conceptual enhancement since its > initial > >> >> > release - Reference Cursors. > >> >> > > >> >> > As we begin to build larger and larger applications with Om, we > >> >> > often run afoul of the need to organize our application around a > >> >> > hierarchical tree. This is more problematic than in React itself as > >> >> > Om > >> >> > emphasizes a programming model that supports full snapshotting of > the > >> >> > application state. This seemingly beneficial property actually > >> >> > exacerbates the hierachical issue and often leads to an incredible > >> >> > amount non-modular programming! > >> >> > > >> >> > The introduction of Reference Cursors allow Om programmers to stop > >> >> > thinking in terms of trees and return to a more natural mode of UI > >> >> > programming - simply calling out into shared APIs around > application > >> >> > data precisely where you need it. No need to pass data through > >> >> > intermediate components on way to the target child component - > >> >> > Reference Cursors allow you to get at the data exactly where it is > >> >> > required and this without abandoning the ability to time travel > over > >> >> > your application state. > >> >> > > >> >> > There are more thoughts and details here: > >> >> > > >> >> > > >> >> > > https://github.com/swannodette/om/wiki/Advanced-Tutorial#reference-cursors > >> >> > > >> >> > Please give Reference Cursors a try in your application and send > lots > >> >> > of feedback! > >> >> > > >> >> > This is an alpha release. No previous Om APIs should be affected, > >> >> > however the Reference Cursor feature is largely untested beyond > >> >> > a simple example in the repo. > >> >> > > >> >> > https://github.com/swannodette/om > >> >> > > >> >> > Cheers, > >> >> > 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. > >> > > >> > > >> > -- > >> > 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. > > > > > > -- > > 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. > -- 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.
