Lights out kata in ClojureScript using Reagent and Figwheel


Details
This time we'll practice together a bit of ClojureScript (https://github.com/clojure/clojurescript) together using Reagent (https://github.com/reagent-project/reagent), which is a simple interface to React (http://facebook.github.io/react/), and Figwheel (https://github.com/bhauman/lein-figwheel), which builds your code and hot loads it into the browser as you are coding, providing a really nice interactive coding experience.
If you are planning to come, please prepare the project before by running the following commands:
$ lein new reagent kata-lights-out <- this creates the project inside the kata-lights-out folder using the Reagent (https://github.com/reagent-project/reagent) lein template.
$ cd kata-lights-out
$ lein figwheel <- this will start Figwheel (https://github.com/bhauman/lein-figwheel) (wait while it downloads libraries and starts a server)
Once the previous command finishes go to http://localhost:3449
That's all. You can exit Figwheel then using ctrl+d or :cljs/quit

Lights out kata in ClojureScript using Reagent and Figwheel