Learning ReactJS

Frederic G. MARAND 5de792278e Listing 10: iterating on comments dynamically. 8 lat temu
public 5de792278e Listing 10: iterating on comments dynamically. 8 lat temu
.editorconfig 6f1481419b First step: copy files from official repo, configure ESLint. 8 lat temu
.eslintrc.js 4394427f35 Listing 6: dangerouslySetInnerHTML. 8 lat temu
.gitignore 6f1481419b First step: copy files from official repo, configure ESLint. 8 lat temu
LICENSE 6f1481419b First step: copy files from official repo, configure ESLint. 8 lat temu
README.md 6f1481419b First step: copy files from official repo, configure ESLint. 8 lat temu
comments.json 6f1481419b First step: copy files from official repo, configure ESLint. 8 lat temu
package.json 6f1481419b First step: copy files from official repo, configure ESLint. 8 lat temu
server.go 6f1481419b First step: copy files from official repo, configure ESLint. 8 lat temu

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: