RonGootman
2/2/2018 - 3:24 PM

React Terminal Commands

npm i create-react-app -g (install globaly)

create-react-app [directory-name] (init react app with name of directory)

npm start (launch the application)

npm install prop-types (static type)

npm install --save-dev eslint eslint-config-airbnb eslint-plugin-react (airbnb eslinter for react)

to cinfugre type: eslint --init

"start": "PORT=5000 react-scripts start" // setting the port in package.json

npm i react-router-dom (react router module)

npm i styled-components (react css)

npm i react-overdrive (animations)