Try @cursor ? On Tuesday, 26 May 2015, John Chijioke Umeasiegbu <[email protected]> wrote:
> Hi David, > > Then the name should be more like om/cached-value or om/init-value. It's > very misleading as om/value. And I suggest there should be a name for > getting the current value as having to do (get-in @(om/state cursor) > (om/path cursor) ) is very boring. > Moreover, I still have not found a great need for om/value as it's > currently implemented. > > WDYT? > > John. > > > > *From: *David Nolen > *Sent: *Monday, May 25, 2015 7:12 PM > *To: *[email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');> > *Reply To: *[email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');> > *Subject: *Re: [ClojureScript] In Om, why does transact not update cursor > value. > > om/value is the cached value that was seen at the start of render which is > useful to know. You need to deref if you absolutely need to see what the > current value is. > > David > > On Mon, May 25, 2015 at 1:05 PM, John Chijioke <[email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote: > >> When a transact has happened to cursor successfully. Why does (om/value >> cursor) not return the current value in (om/state cursor) at (om/path >> cursor)? >> >> John. >> >> -- >> 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] >> <javascript:_e(%7B%7D,'cvml','clojurescript%[email protected]');> >> . >> To post to this group, send email to [email protected] >> <javascript:_e(%7B%7D,'cvml','[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 a topic in the > Google Groups "ClojureScript" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/clojurescript/Ax3mO6oJFu4/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected] > <javascript:_e(%7B%7D,'cvml','clojurescript%[email protected]');> > . > To post to this group, send email to [email protected] > <javascript:_e(%7B%7D,'cvml','[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] > <javascript:_e(%7B%7D,'cvml','clojurescript%[email protected]');> > . > To post to this group, send email to [email protected] > <javascript:_e(%7B%7D,'cvml','[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.
