четверг, 22 мая 2014 г., 15:07:59 UTC+4 пользователь David Nolen написал: > om/transact! currently knows what path actually changed. This is not possible > efficiently with swap!. > > > David > > > > On Wed, May 21, 2014 at 4:24 PM, Ruslan Prokopchuk <[email protected]> wrote: > > Let's pass :tx-listen handler to om/root and add-watch to atom which is > passed to it as root cursor. > > > > Call to om/transact! trigger :tx-listen handler, but atom watcher is not > called. > > Call to swap! atom trigger watcher, but not :tx-listen handler. > > > > What are reasons to not notify app state atom watchers on om/transact! and to > not mimic om/transact! on root path after swap! ? > > > > -- > > 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.
Why not simply assume this path as root path? -- 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.
