Om is a ClojureScript UI component library over React.
This is a version of David Nolen's om-next-demo that uses Boot to run the server, auto-reload CLJ and CLJS files, and run a browser (B)REPL. It uses Danielsz/System to enable server-side Component reloading and boot-reload for CLJS reloading.
To run it:
boot dev
Open your browser to http://localhost:8081
To see server reloading in action, change 'todomvc.server/index to the following and reload your browser:
(defn index [req]
{:status 200
:headers {"Content-Type" "text/html"}
:body "Hello auto-reloading!"}
)
To connect to the BREPL, open a new terminal and:
boot repl -c
then
(start-repl)
(js/alert "Hello BREPL!")