• Stars
    star
    206
  • Rank 190,504 (Top 4 %)
  • Language
    Clojure
  • Created almost 11 years ago
  • Updated over 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The react tutorial rewritten in Om

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