       (log (str "Sent to Tango Backend => " remote))
       (chsk-send! [:event-manager/query [[:competition/name :competition/location]]]))))
 
+;; TODO - since conn is set the read query will be run twice at start up - delay read or something.. 
 (def reconciler
   (om/reconciler
     {:state conn

(defmethod mutate 'app/name
  [{:keys [state]} _ _]
  {:value {:keys [:app/competitions]}
   :action (fn [] (chsk-send! [:event-manager/query [[:competition/name :competition/location]]]))})

(defn test-query-click [t]
  (do

;; (om/add-root! reconciler
;;   Tester (gdom/getElement "app"))

;; (om/add-root! reconciler
;;   CompetitionsView (gdom/getElement "app"))

(om/add-root! reconciler
  MenuComponent (gdom/getElement "app"))


