Minimal example repo of a CLJS Hiccup->React compiler w/ type inference
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
target/public
vendor
.gitignore
.gitmodules
README.md
deps.edn
dev.cljs.edn

README.md

Fast ClojureScript React templates

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/

Run

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.

Support

If you like fast things and want to support the author, check out Finda.