     :title "Baz"}
    {:db/id -4
     :email "bob.smith@gmail.com"}
-   {:root  "my app root"
-    :items [-1 -2 -3]
+   {:root         "my app root"
+    :items        [-1 -2 -3]
     :current-user -4}])
 
 ;; At this point, we could link the current-user entity to every item.

    '[:db/id :title])
  Object
  (render [this]
    (let [{:keys [:db/id title]} (om/props this)]
      (dom/li nil
        (dom/div nil (str id " - " title))))))

(defui SomeList
  static om/IQuery
  (query [_]
    [{:items (om/get-query ItemTwo)}])
  Object
  (render [this]
    (dom/div
      (dom/h2 nil "A List!")
      (dom/ul nil
        (map (om/factory ItemTwo) (-> this om/props :items))
        ))))

;; -----------------------------------------------------------------------------

;; -----------------------------------------------------------------------------
;; DB

(def init-data (d/create-conn {:root               {:db/unique :db.unique/identity}
                               :items              {:db/valueType :db.type/ref :db/cardinality :db.cardinality/many}
                               :current-user       {:db/valueType :db.type/ref :db/cardinality :db.cardinality/one}
                               :current-user/email {:db/unique :db.unique/identity}}))

(d/transact! init-data
