             [day8.re-frame.trace.localstorage :as localstorage]
             [day8.re-frame.trace.components :as components]))
 
+(devtools.prefs/set-pref! :header-style "")
+
+;; Hide the index spans on the left hand of collections. Shows how many elements in a collection.
+(devtools.prefs/set-pref! :none-style "display: none")
+(devtools.prefs/set-pref! :index-tag [:span :none-style])
 
 (defn string->css [css-string]
   "This function converts jsonml css-strings to valid css maps for hiccup.

            (and @expanded?
              (or (string? data)
                  (number? data)))  [:div {:style {:margin "10px 0"}} data]
            @expanded?              (jsonml->hiccup (cljs-devtools/header-api-call data config :extra)))]])))

(defn render-state  [data]
  (let [subtree-input  (r/atom "")

       (reduce (fn [acc [property value]]
                 (assoc acc (keyword property) value)) {})))

(def config {:initial-hierarchy-depth-budget false})

(declare jsonml->hiccup)

