   Object
   (componentDidMount [this]
     (handle-maze-change this))
-  (componentDidUpdate [this prev-props prev-state]
+  (componentDidUpdate [this _ _]
     (handle-maze-change this))
   (render [this]
     (let [{:keys [grid rows columns algorithm cell-size active] :as maze} (om/props this)]

      {:value value}
      {:value :not-found}))

(defmulti produce-maze-value (fn [k v s] k))

(defn mutate [{:keys [state] :as env} key {:keys [maze-key value] :as params}]
  (if (= 'snergly.core/set-maze key)

       :action #(swap! state assoc-in [:maze maze-key] new-value)})
    {:value nil}))

(defmethod produce-maze-value :default
  [_ form-value _]
  form-value)

(defmethod produce-maze-value ::integer
  [_ form-value _]
  (js/parseInt form-value))

