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

11 lines
252 B
Clojure

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