Surely there is a better way to write this that I have not discovered?

:component-did-update (fn [this props]
                        (let [[_ value change!] (aget this "props" "argv")] ; 
wtf reagent
                          (.setValue (aget this "codeMirrorRef") value)))


here is full context if necessary: 
https://gist.github.com/dustingetz/38264c68dccf095546eb3f786d8d10c4#file-reagent-component-did-update-cljs-L27

-- 
You received this message because you are subscribed to the Google Groups 
"Reagent-Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reagent-project+unsubscr...@googlegroups.com.
To post to this group, send email to reagent-project@googlegroups.com.
Visit this group at https://groups.google.com/group/reagent-project.
For more options, visit https://groups.google.com/d/optout.

Reply via email to