The react tutorial rewritten in Om
Clojure
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
resources/public
src
.gitignore
README.md
comments.json
project.clj

README.md

react-tutorial-om

The React tutorial rewritten in Om. Here's a version of the tutorial that provides a guided, step-by-step tutorial.

Intro

Like many, swannodette's post about the release of Om got me really excited. Check out the post if you haven't.

I worked through the React tutorial yesterday in JS(X), and did it today in Om. I would definitely recommend doing it in that order.

I've tried to stay really close in concept to the original tutorial, but made the following substitutions to be as idiomatic as possible:

The original react tutorial repo includes a nodejs server; therefore, this one has a Clojure one. run lein ring server to fire it up.

Installation

Leiningen

For getting the latest version of CLJS and Om, follow swannodette's instructions here.

  • Client: lein cljsbuild once dev
  • Server: lein ring server