Reagent provides a minimalistic interface between ClojureScript and React. It allows you to define efficient React components using nothing but plain ClojureScript functions and data, that describe your UI using a Hiccup-like syntax.
The Reagent website is a great resource for getting started.
Here are some links you may find helpful:
- reagent-template
- reagent-cookbook
- reagent-forms
- yogthos blog
- Twitter: @ReagentProject
- YouTube: Reagent Project
Get help from other reagent users:
The following is a summary of the components directory.
Compile the clojurescript files.
$ lein cljsbuild once
Note: to compile an optimized version, run lein clean
followed by lein with-profile prod cljsbuild once
Open index.html
to view the example application.