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/
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:
npm install
node server.js
pip install -r requirements.txt
python server.py
ruby server.rb
php server.php
go run server.go
And visit http://localhost:3000/. Try opening multiple tabs!