GitHub - top2tech/react-tutorial: Code from the React tutorial.

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Repository files navigation

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

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!

Releases

No releases published

Languages

  • JavaScript 42.9%
  • Go 18.1%
  • Python 9.8%
  • Ruby 9.3%
  • PHP 8.3%
  • CSS 6.3%
  • HTML 5.3%