Learning ReactJS

Frederic G. MARAND 257f06693e Listing 3: composing components: composing CommentBox of CommentList and CommentForm. преди 9 години
public 257f06693e Listing 3: composing components: composing CommentBox of CommentList and CommentForm. преди 9 години
.editorconfig 6f1481419b First step: copy files from official repo, configure ESLint. преди 9 години
.eslintrc.js c173d1e1ec Listing 1: first component, CommentBox. преди 9 години
.gitignore 6f1481419b First step: copy files from official repo, configure ESLint. преди 9 години
LICENSE 6f1481419b First step: copy files from official repo, configure ESLint. преди 9 години
README.md 6f1481419b First step: copy files from official repo, configure ESLint. преди 9 години
comments.json 6f1481419b First step: copy files from official repo, configure ESLint. преди 9 години
package.json 6f1481419b First step: copy files from official repo, configure ESLint. преди 9 години
server.go 6f1481419b First step: copy files from official repo, configure ESLint. преди 9 години

README.md

react-intro : Learning ReactJS

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

Installing

go run server.go

And visit http://vm:3000/ assuming you host is called vm. Try opening multiple tabs!

Changing the port

You can change the port number by setting the $PORT environment variable before invoking any of the scripts above, e.g.,

PORT=3001 node server.js

Parts taken from: