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

11 lines
258 B
Plaintext
Raw Permalink Normal View History

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