Please enable JavaScript.
Coggle requires JavaScript to display documents.
Clojure Journey (project (shadow-cljs, deps.edn, leiningen), logic…
Clojure Journey
project
shadow-cljs
deps.edn
leiningen
logic
shortcircuits
case
cond
if
and
or
when
exception handling
try/catch
(ex-info "message" {:info-map "value}
clojure.lang.ExceptionInfo
testing
framework
browser automation
etaoin
unit test
cljs.test
test runner
cognitect.test-runner
kaocha
cljs-test-runner
data structures
sequence
vector
map
key exists?
(contains? mymap)
get value
(:keyword mymap)
(mymap "string-key")
list
set
sequence operations
sequence as first arg
nth
dissoc
get
conj
disj
assoc
sequence as last arg
cons
nrepl
middlewares
cider-nrepl
piggieback
shadow-cljs
Clojure CLI
deps.edn - alias with thheller/shadow-cljs
shadow-cljs.edn - :deps {:aliases [deps-edn-alias-here]
app running in browser client (for repl)
calva jackin using shadow-cljs connection sequence
run shadow-cljs watch app