I know I am going insane: (register-sub :add-patient/selected-journey-details-field (fn [db] (reaction (-> [:add-patient/local] subscribe deref :selected-journey-details-field))
#_(let [v (-> [:add-patient/local] subscribe deref :selected-journey-details-field)] (reaction v)))) works but (register-sub :add-patient/selected-journey-details-field (fn [db] #_(reaction (-> [:add-patient/local] subscribe deref :selected-journey-details-field)) (let [v (-> [:add-patient/local] subscribe deref :selected-journey-details-field)] (reaction v)))) doesn't. And by 'not working' I mean the component doesn't notice any changes to a subscription to :add-patient/selected-journey-details-field. After 4 hours banging my head I reduced it to the above, literally commenting one and uncommenting the other (with a browser refresh in-between). Any suggestions? -- 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 clojurescript+unsubscr...@googlegroups.com. To post to this group, send email to clojurescript@googlegroups.com. Visit this group at http://groups.google.com/group/clojurescript.