Code from the React tutorial.
JavaScript Python Ruby CSS
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 6 commits ahead, 140 commits behind reactjs:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
public
.gitignore
README.md
_comments.json
package.json
server.boot
server.js
server.py
server.rb

README.md

React Tutorial

This is the React comment box example from the React tutorial.

To use

There are several simple server implementations included. They all serve static files from public/ and handle requests to comments.json to fetch or add data. Start a server with one of the following:

Node

npm install
node server.js

Python

python server.py

Ruby

ruby server.rb

Clojure with Boot

boot server.boot

And visit http://localhost:3000/. Try opening multiple tabs!