Macro example for shadow-cljs
Simple example to try macros in ClojureScript. Some tricky things.
With hot code swapping support:
yarn
yarn shadow-cljs watch server
# another tty
node target/main.js
yarn shadow-cljs compile app
Compiles to target/
.
- add
shadow-cljs.edn
to config compilation - run
node target/main.js
to start app and connect reload server
MIT