 (defcard-om-next local-state-om-next-card
   "we can define components with `:once` metadata"
   ComponentWithLocalState
-  local-reconciler)
+  {})
+
+
+;; TODO:
+;; - Docs saying that if we pass a map to `defcard-om-next`, we will `defonce` a reconciler automatically
+;; - Docs saying that `om-next-root` is not as powerful and doesn't have that ability (so the code won't be reloadable)
+;; -


(defonce om-next-root-data {:text "yep"})

#_(defcard om-next-card-ex
  "This card calls `om-next-root` with one argument, the component"
  (om-next-root Widget)
  {:text "yep"})

#_(defcard om-next-card-reconciler-ex
  "This card calls `om-next-root` with 2 args, the component and the Om Next reconciler"
  (om-next-root Widget
    (om/reconciler {:state om-next-root-data
                    :parser (om/parser {:read (fn [] {:value om-next-root-data})})})))

#_(defcard-om-next om-next-no-reconciler
  "This `defcard-om-next` card takes the initial state map as its last arg"
  Widget
  om-next-root-data)

                                      :mutate counter-mutate})
                  :shared {:title "First counter "}}))

(defcard-om-next om-next-card-shared-ex-1
  om-next-counter-inc
  rec1)

