Livecoding REPL introduction to Missionary.
- Part 1: src/quickstart.cljs, a managed DOM input, which is the simplest real world use case.
- Part 2: src/flow_protocol.cljc: flow protocol explainer
- Clojure/Script project
- Clone repo, open in your Clojure editor and jack into the project as ClojureScript browser REPL
- If you break something while playing around, simply refresh the page, which gives you a clean slate REPL.
- browser console has REPL evaluation results. Partial incomplete results may be shown in the editor REPL, this is editor dependent!
figure: test reports are in the browser console
- "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 test