Skip to content

Instantly share code, notes, and snippets.

@vishnu-saini
Created May 18, 2020 10:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vishnu-saini/ecc50ce8fb11ea0348742dcabda7320b to your computer and use it in GitHub Desktop.
Save vishnu-saini/ecc50ce8fb11ea0348742dcabda7320b to your computer and use it in GitHub Desktop.
# Setting up react application
• Update npm to npm6+
npm install -g npm
• Setting up a basic react application
npm init react-app ptim-app
• Setting up material ui in react app
npm install @material-ui/core
• Setting up redux
npm install --save redux
• Setting up ESlint with Airbnb style guide (eslint and babel-eslint package installed with create-react, so no need to install it manually)
npm i -D eslint-config-airbnb eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react
• Setting up Pritter with eslint integration
npm i -D prettier eslint-config-prettier eslint-plugin-prettier
• npm install --save prop-types
• npm install @material-ui/icons
• npm install --save ag-grid-community ag-grid-react
npm install react-redux
redux middlewarews
npm install redux-thunk
https://github.com/reduxjs/redux-thunk
npm install --save redux-promise
https://github.com/redux-utilities/redux-promise
npm i --save redux-logger
https://github.com/LogRocket/redux-logger
https://stackoverflow.com/questions/36577510/what-is-the-difference-between-redux-thunk-and-redux-promise
npm install moment –save
npm install rtf.js
npm install html-react-parser –save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment