     [timothypratley.patchin :refer [diff patch]]
     ))
 
-(defonce push-pending? (atom false))
-
-(def client-state-push-to-server-keys [:current-page])
-
-(add-watch
-  client-state :set-push-pending
-  (fn [_ _ old-state new-state]
-    (when (not= (select-keys old-state client-state-push-to-server-keys)
-                (select-keys new-state client-state-push-to-server-keys))
-      (reset! push-pending? true))))
 
 (declare chsk ch-chsk chsk-send! chsk-state)
 

     [:section.active
      [:h3 "@state/socket-active?*"]
      [pre-component-pprint @state/socket-active?*]]
     [:section.push-pending
      [:h3 "@push-pending?"]
      [pre-component-pprint @push-pending?]]
     [:section.state-socket
      [:h3 "@state/socket*"]
      [pre-component-pprint @state/socket*]]]]

                           (assoc new-state :updated_at (js/moment))))
      nil))


;;; routing state ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

