Skip to content

Latest commit

 

History

History
100 lines (67 loc) · 1.66 KB

README.md

File metadata and controls

100 lines (67 loc) · 1.66 KB

Important Links

This project was bootstrapped with Create React App.

To learn React, check out the React documentation.

Packages

Bootstrap link

npm install react-bootstrap bootstrap
npm install --save @types/react-bootstrap
npm install --save @types/bootstrap

Supporting IE

npm install react-app-polyfill

Styled components link

npm install --save styled-components
npm install @types/styled-components

Styled icons link

npm install --save styled-icons

React router link

npm install react-router-dom
npm install @types/react-router-dom

Axios link

npm install axios

React notifications link

npm install react-notifications

Jest link

npm install --save-dev jest

Setup and useful commands

Create app

npx create-react-app sample-react-app --template typescript

Change port

package.json

"start": "set PORT=3100 && react-scripts start"

Imports using absolute path

tsconfig.json

{
 "compilerOptions": {
   "baseUrl": "src"
 },
 "include": ["src"]
}

Prevent use implicit any

tsconfig.json

"noImplicitAny": true,

Other useful resources

https://github.com/Lemoncode/react-promise-tracker