i can't reproduce this.  can you post a minimal case showing an example where 
transact! succeeds and update! fails?

https://www.refheap.com/94143


On Friday, November 28, 2014 3:28:25 AM UTC-6, David Mohl wrote:
> Hey there. I am constantly running into a small issue with om/update! and 
> om/transact! and look for a point into the right direction.
> 
> This snippet sets the `some-value` state to true. 
> 
> (om/transact! app [:some-value] (fn [_] true))
> 
> The way I understood it from the documentation 
> (https://github.com/swannodette/om/wiki/Documentation#update), I should be 
> able to accomplish the same thing by using the following update statement: 
> 
> (om/update! app [:some-value] true)
> 
> While the `transact!` one works fine, `update!` is always throwing `Uncaught 
> TypeError: Cannot read property 'closure_uid_xxxxxxx' of null`
> 
> I am wondering what I'm doing wrong or where my thinking error is.

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