    [hello-world]
    [chunks]])
 
-(reagent/render-component [layout]
-                          (. js/document (getElementById "app")))
+;; ---
+;; Load data from the API
+;; ---
 
 (defn chunks-success-handler
   [response]

                  :handler chunks-success-handler
                  :error-handler chunks-error-handler}))

(defn on-js-reload []
  ;; optionally touch your app-state to force rerendering depending on
  ;; your application


(defonce app-state (atom {:text "Hello world!"}))
(defonce chunks-state (atom '()))

;; ---
;; View Template
;; ---

(defn hello-world []
  [:h1 (:text @app-state)])
