So, one issue for me is I am using rendering? in order to work around some issues where you can't change the cursor in will-mount and have the change cause a render to occur. I can easily always enqueue my changes in order to work around this, but curious if there is some other way to detect this w/o rendering?
--Todd On Monday, November 10, 2014 10:47:23 AM UTC-5, David Nolen wrote: > This release fixes issues discovered in 0.8.0-alpha1 around reference > cursors and no local state components. > > This release also does away with checks around cursor consistency - > cursors may be handled the same way whether in render or async > contexts. After exploring cursor consistency I came to the conclusion > that it's not only more trouble than it's worth, my previous plan > simply does not work well with the immutable model that React is > designed upon. > > This means that cursors may very well be stale. However you have two > tools - deref is still supported. There's also a new predicate valid? > which will return true if the cursor has been deleted by some other > process. > > One breaking change is that rendering? has been removed as the > predicate was only provided to distinguish between render and async > phases for cursor manipulation. > > Feedback most welcome - in particular if the lack of consistency > checks is problematic > > https://github.com/swannodette/om > > 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.
