 (declare ^:dynamic *ratom-context*)
 (defonce ^boolean debug false)
 (defonce ^boolean silent false)
-(defonce generation 0)
-(defonce -running (clojure.core/atom 0))
+(defonce ^:private generation 0)
+(defonce ^:private -running (clojure.core/atom 0))
 
 (defn ^boolean reactive? []
   (not (nil? *ratom-context*)))

                 (recur (inc i))
                 false))))))

(def reaction-counter 0)

(defn- reaction-key [r]
  (if-some [k (.-reaction-id r)]


;;; Queueing

(defonce ^:private rea-queue nil)
(def ^:private empty-context #js{})

(defn- rea-enqueue [r]
  (when (nil? rea-queue)
