Skip to content

lynaghk/cljs-hiccup-inference

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published