Livecoding REPL introduction to Missionary.
- Part 1: building a managed DOM input in ClojureScript, which is the simplest real world use case. src/quickstart.cljs
- Part 2: flow protocol explainer (works in Clojure and ClojureScript). src/flow_protocol.cljc
- Clojure/Script project
- Clone repo, open in your Clojure editor and jack in as ClojureScript browser REPL
- browser console has REPL evaluation results. Partial incomplete results may be shown in the editor REPL, this is editor dependent!
- If you break something while playing around, simply refresh the page, which gives you a clean slate REPL.
- "Start Project REPL and Connect (aka Jack In)"
- "deps.edn + shadow-cljs"
- validate browser REPL with
(type 1) ; => #object[Number]
- open src/quickstart.cljs
- evaluate
ns
form - evaluate first
tests
form