sliva/src/sliva/core.cljs

15 lines
319 B
Clojure

(ns sliva.core
(:require ))
(enable-console-print!)
(defonce app-state (atom {:text "Hello world!"}))
(console.log (:text @app-state))
(defn on-js-reload []
;; optionally touch your app-state to force rerendering depending on
;; your application
;; (swap! app-state update-in [:__figwheel_counter] inc)
)