     (count (filter :done todos))))
 
 (reg-sub
-  :footer-counts                     ;; XXXX different from original. Now does not return showing
+  :footer-counts
   :<- [:todos]
   :<- [:completed-count]
   (fn [[todos completed] _]

                      :active (complement :done)
                      :done   :done
                      :all    identity)]
      (filter filter-fn todos)))


(reg-sub

      (filter filter-fn todos))))

;; -------------------------------------------------------------------------------------
;; Hey, wait on!!
;;
;; How did those two simple registrations at the top work?
;; We only supplied one function in those registrations, not two?
;; Very observant of you, I'm glad you asked.
;; When the signal-returning-fn is omitted, re-sub provides a default,
;; and it looks like this:
;;    (fn [_ _] re-frame.db/app-db)
;; It returns one signal, and that signal is app-db itself.
;;
;; So the two simple registrations at the top didn't need to provide a signal-fn,
;; because they operated only on the value in app-db, supplied as 'db' in the 1st arguement.

;; -------------------------------------------------------------------------------------
;; SUGAR ?
