re-natal/resources/cljs-reagent6/db.cljs

11 lines
252 B
Plaintext
Raw Normal View History

(ns $PROJECT_NAME_HYPHENATED$.db
2016-08-13 07:44:14 +00:00
(:require [clojure.spec :as s]))
;; spec of app-db
(s/def ::greeting string?)
(s/def ::app-db
(s/keys :req-un [::greeting]))
;; initial state of app-db
(def app-db {:greeting "Hello Clojure in iOS and Android!"})