Fork me on GitHub
#re-frame
<
2018-07-10
>
kenny19:07:04

If I call reagent.core/track! like so:

(reagent/track!
  (fn []
    (let [x @(rf/subscribe [::my-sub])]
      (println "CHANGED --")
      (prn x))))
It only prints the change after a hot reload, not when the subscription changes. I can see in the re-frame-10x panel that ::my-sub is changing but my function passed to track! is not called. Any idea why?

kenny20:07:13

Perhaps I should also ask in the #reagent channel... 🙂