I am learning javascript and react
Sources I used to learn:
Most commonly used commands:
npm i @types/react @types/react-dom @types/node
npx create-react-app my-app
npm start
npm run build
Typescript configuration:
npm i typescript --save-dev
Configure the compiler options in tsconfig.json
npx tsc --init
{
"include": ["src"],
"compilerOptions": {
"outDir": "./build"
}
}