This is a minimal example repo demonstrating a cljs hiccup compiler that:
- warns about runtime interpretation, which nudges you to write faster code
- uses type inference to avoid interpretation of values that can be passed directly to React
For background, see: https://kevinlynagh.com/notes/fast-cljs-react-templates/
You'll need Clojure CLI. Then run:
git submodule update --init
clj -A:figwheel
and Figwheel will open a live-reloading page in your default browser.
Then play with the templates defined in src/com/keminglabs/cljs_hiccup_inference/main.cljs.
If you like fast things and want to support the author, check out Finda.