       (fn []
         (this-as this
           (apply f this (:view/children @(gobj/get this "re$view")))))
-      :view/should-update
-      (fn [& args]
-        (this-as this
-          (let [result (apply f this args)]
-            (when-not result (finish-lifecycle this))
-            result)))
       (fn [& args]
         (this-as this
           (apply f this args))))))

                                       (when-let [un-sub (aget this "reactiveUnsubscribe")]
                                         (un-sub))
                                       (some-> state (remove-watch this)))
                  :view/did-update   (fn [this]
                                       ;; after update, update prev-props and prev-state
                                       (finish-lifecycle this))}])
       (reduce-kv (fn [obj method-k method]
                    (doto obj
                      (gobj/set (get kmap method-k) (wrap-methods method-k method)))) #js {})))



(defn swap-silently!
  "Swap a component's state atom without forcing an update (render)"

                                                 (d/listen patterns #(force-update this))))
          (vswap! re$view assoc :view/re-db.patterns patterns))
        value))))

(def ^:private kmap
  "Mapping of methods-map keys to React lifecycle keys."
