         (add-watch local-state key
                    (fn [_ _ p n]
                      (when (not= p n)
-                       (.setState component (.-state component)))))
+                       (.forceUpdate component))))
         (assoc state key local-state)))}))
 
 

    (build-ctor render mixins display-name)))

(defn request-render [comp]
  (.setState comp (.-state comp)))

(defn mount
  "Add element to the DOM tree. Idempotent. Subsequent mounts will just update element."

               (add-watch ref key
                          (fn [_ _ p n]
                            (when (not= p n)
                              (.forceUpdate comp))))))
           [dom (assoc next-state :rum.reactive/refs new-reactions)]))))
   :will-unmount
   (fn [state]
