 (deftype DefaultTracker [^:mutable dmap]
   IDependencyTracker
   (depends! [this store new-deps]
-    #_(println "depends!: " dmap "\n")
-    (set! dmap (update-in dmap [store] (fnil merge-deps (empty-deps store)) new-deps)))
+    #_(.log js/console "depends!: " dmap (pr-str new-deps))
+    (set! dmap (update-in dmap [store] (fnil merge-deps (empty-deps store)) new-deps))
+    #_(.log js/console "   " dmap)
+    this)
 
   (dependencies [this] dmap))
 

     (when (tracking?)
       (inform-tracker *tracker* store args)))
  ([tracker store args]
     #_(println "Informing tracker: " args " t? " *tracker* "\n")
     (depends! tracker store (if (set? args) args #{args}))))



(defn derive-listener
  "Helper. Handle source listener events"
  [derive store deps]
  #_(.log js/console "Derive received: " (or (.-deps deps) deps))
  (let [cache (.-cache derive)
        param-set (set (invalidate! cache store deps))]
    (when-not (empty? param-set)
