prisskreative
8/24/2015 - 8:00 PM

react-app goatslacker

react-app goatslacker

cd react-app

npm init

sudo npm install alt react react-bootstrap react-router@1.0.0-beta3 --save

npm install webpack

npm install webpack-dev-server

npm install babel-loader

npm install babel react-hot-loader

git lg

git show

sudo chown -R user staff -/.npm

node server

ajax library
npm install axios

———————


use no state if possible

use props everywhere

—

dom is really slow - react virtual dom copy a dom


use web socket

socket.io client