       (startup cursor owner))
     om/IDidMount
     (did-mount [_]
+      ;; TODO Subscribe to topic router
       (let [publication (:publication (om/get-shared owner))
             server-message-events (sub publication :server-msg (chan))
             dispatcher-events (sub publication :dispatcher (chan))

            [cljsjs.phoenix]
            [goog.events :as events]
            )
  )

(defn receive-ok [params]

  (println (aget params "path"))
  (println (aget params "body"))
  )
;; TODO we need to replace this
;; TODO save off channel
(defn ^:private startup
  "Actually connects the web socket to the server and starts the local event loop."
  [cursor owner]
