PEZ / missionary-quickstart

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

missionary-quickstart

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

How to run

  • 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.

Calva instructions

  • "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
CleanShot.2023-10-31.at.10.11.41.mp4

About

License:The Unlicense


Languages

Language:Clojure 99.2%Language:HTML 0.8%