Getting Started
create-react-app
- npm
- yarn
npx create-react-app [project-name]
yarn create react-app [project-name]
Typescript
- npm
- yarn
npx create-react-app [project-name] --template typescript
yarn create react-app [project-name] --template typescript
Expo (React Native)
# creating an expo app
npx create-expo-app [project-name]
# typescript template
npx create-expo-app -t expo-template-blank-typescript
# starting expo app
npx expo start
# clearing cache and starting expo
npx expo start -c
# OR
npm start -clear
create-next-app
- npm
- yarn
npx create-next-app [project-name]
yarn create next-app [project-name]
Scripts
- Starting project:
-
npm start
oryarn start
-
- Clear cache / bundle:
-
npm start --clear
oryarn cache clean
-
- Run build:
-
npm run build
oryarn run build
-
React 100 Seconds // Fireship
My favourite byte-sized content creator for tech is Fireship on youtube. Here are some quick links for React: