   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
+    (re-frame.core/reg-event-db
        :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 /examples/todomvc.
+  To make this code fragment work, you'll also have to set goog.DEBUG to
+  false in your production builds - look in `project.clj` of /examples/todomvc.
   "
   (->interceptor
     :id     :debug


(def trim-v
  "An interceptor which removes the first element of the event vector,
  allowing you to write more aesthetically pleasing db handlers. No
  leading underscore on the event-v!
  Your event handlers will look like this:


  "An interceptor which logs data about the handling of an event.

  Includes a `clojure.data/diff` of the db, before vs after, showing
  the changes caused by the event handler.  You absolutely will have
  to understand https://clojuredocs.org/clojure.data/diff to
  understand the output.

  You'd typically want this interceptor after (to the right of) any
  path interceptor.
