ClojureScript + Zelkova + Virtual Dom + "The Elm Pattern" = Sane Javascript!
Uses stch-html for representing HTML in ClojureScript.
- Single flow of events.
- Use core.async.
- Use pure functions for updating state and rendering.
- Minimal learning curve (i.e., easier than Om).
[com.2tothe8th/dominator "0.4.0"]
Note: You will need to download the compiled vdom.js
file to your project directory and reference it in your HTML file.
wget https://raw.githubusercontent.com/dubiousdavid/dominator/master/vdom.js
You will also need to add :externs ["dominator.js"]
to the compiler options map if using advanced compilation.