A very simple re-frame application intended to serve as a reference for myself on how to get started.

This program was started by using the re-frame template for Leiningen

lein new re-frame re-frame-fw-demo

then making small changes to get it to it's current state. It is modeled after the similar Reagent project in this repository.

This does several things that are interesting to me at the moment:

  • It reminds me how to format a JavaScript Date object as a 12-hour clock.
  • I like the style of the buttons.
  • I like the CSS.
  • I like the two-column footer. (It would probably be better in FlexBox.)

Development Mode

Run application:

lein clean
lein figwheel dev

Figwheel will automatically push cljs changes to the browser.

Wait a bit, then browse to http://localhost:3449.

Production Build

To compile clojurescript to javascript:

lein clean
lein cljsbuild once min