 
 (defn path
   "An interceptor factory which supplies a sub-path of `:db` to the handler.
-  It's action is somewhat analogous to `update-in`. It grafts the return
+  It's action is somewhat analogous to clojure's `update-in`. It grafts the return
   value from the handler back into db.
 
   Usage:

  (or the `coeffect` value of db if no db effect is returned) and the event.
   Its return value is ignored so `f` can only side-effect.

  Example use:
     - `f` runs schema validation (reporting any errors found)
     - `f` writes some aspect of db to localstorage."
  [f]
  (->interceptor


  Warning:  calling clojure.data/diff on large, complex data structures
  can be slow. So, you won't want this interceptor present in production
  code. So condition it out like this:

    (re-frame.core/reg-event
       :evt-id
       [(when ^boolean goog.DEBUG re-frame.core/debug)]  ;; <-- conditional
       (fn [db v]
         ...))

  You'll also have to set goog.DEBUG to false in your production builds - look
  in project.clj of the todomvc example in /examples.
  "
  (->interceptor
    :id     :debug
    :before (fn debug-before
