Skip to content

Lights out kata in ClojureScript using Reagent and Figwheel

Photo of Manuel
Hosted By
Manuel and 2 others
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

Photo of Clojure Developers Barcelona group
Clojure Developers Barcelona
See more events
Magento Commerce
Llacuna 56-70 - Building A, 1st floor. · Barcelona