sliva/src/sliva/core.cljs

15 lines
319 B
Plaintext
Raw Normal View History

2018-03-20 21:12:42 +01:00
(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)
)