To run the react up, after push the code to your salesforce org, you should install node and npm.
-
go to react directory
cd react -
init npm
npm init -
install webpack and webpack-dev-server
npm install webpack webpack-dev-server --save -
install react and react-dom
npm install react react-dom --save -
install babel etc.
npm install babel-core babel-loader babel-preset-react babel-preset-es2015 --save -
run the server.
npm start