 
 (defmethod step :toggle-snoop [state _]
   (update state :snooping not))
+
+(defmethod step :filter [state {:keys [text]}]
+  (assoc state :filter-text text))
 
 
 ;; VIEW HELPERS

  (atom
    {:stack (list "first" "second")
     :new-item-text ""
     :snooping false}))

(defmulti step
  (fn [_ {:keys [id]}]

  [greeting @app-state])

(reagent/render [app] (js/document.getElementById "app"))
(reagent/render [app] (js/document.getElementById "app"))
