Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

About

Minimal example repo of a CLJS Hiccup->React compiler w/ type inference

Resources

Releases

No releases published

Packages

No packages published