 
   static om/IQuery
   (query [_]
-         '[:oceans-tab]
+         '[:oceans]
          )
 
   Object
   (render [this]
           (apply dom/ul nil
-                 (map (fn [country]
+                 (map (fn [ocean]
                         (dom/li nil
-                                (:name country)
-                                (dom/span
-                                  #js {:style #js {:fontWeight "bold"
-                                                   :marginLeft "5px"}}
-                                  "("
-                                  (:code country)
-                                  ")"
-                                  )
+                                ocean
                                 )
                         )
+                      (:oceans (om/props this))
                       )
                  )
           )

  static om/IQueryParams
  (params [_]
          ; ...
          )

  static om/IQuery
  (query [_]
         '[:countries {:page ?page}]
         )

  Object
  (render [this]
          (apply dom/ul nil
                 (map (fn [ocean]
                        (dom/li nil ocean)
                        )

                   }
                  ))


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




;; Watch the URL changes
(aset
  js/window
  "onhashchange"
  (fn [_]
    ; ...
    (let [parsed-url (parse-url-hash
          js/window.location.hash
          )
          x (get-query-and-params-by-parsed-url
        tabs
        parsed-url
        )
          
          y (some->>
    (get-tab-by-parsed-url tabs parsed-url)
    :component
    )
          
          the-query (with-meta
           (om/get-query y)
           nil)
          _ (println "the-query" the-query)
          ]
      (println "set query to" x)
      #_(om/set-query!
        reconciler
        ;(select-keys x [:query])

        )
      (om/set-query!
        reconciler
        {:query
         the-query
         }
        )

      (println
        "..."
        (om/get-query
          reconciler)
        )
      )
    )
  )
