Skip to content

mclxly/react-tutorial

 
 

Repository files navigation

React Tutorial

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

新特性

  • react v0.12.2 / d3.js / Material UI / Bootstrap
  • react.js CDN

更新列表

  • [2015-04-21]更新至react v0.13.2,并添加测试代码

离线转换

npm install -g react-tools jsx --watch src/ build/

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

pip install -r requirements.txt
python server.py

Ruby

ruby server.rb

PHP

php server.php

Go

go run server.go

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

About

Code from the React tutorial.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 58.2%
  • JavaScript 41.4%
  • HTML 0.3%
  • Go 0.1%
  • Python 0.0%
  • Ruby 0.0%