Regarding this 
(https://github.com/swannodette/om/wiki/Basic-Tutorial#debugging-om-components) 
section of the om tutorial:

Couldn't the click handler in theory delete a version of the contact that has 
not been rendered to the user?

E. g. Wouldn't 

#js {:onClick (let [rendered-contact (into {} contact)]
                (fn [e] (put! delete rendered-contact)))}

be the only way to make the click handler consistent with what is displayed to 
the user? - If so, could we get an operation to retrieve the rendered value 
during the render phase as non-cursor to close over it (probably also deref)? 

If not, how should I take "Thus you are not allowed to use cursors outside of 
the render phase as this is almost certainly a concurrency bug!" - How exactly 
is that /not/ what we are doing in the click handler of the tutorial?

If it doesn't make a difference, please explain why.

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