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

11 lines
249 B
Plaintext
Raw Normal View History

(ns $PROJECT_NAME_HYPHENATED$.db
(:require [cljs.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!"})