Skip to main content

Getting Started

create-react-app

npx create-react-app [project-name] 

Typescript

npx 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

npx create-next-app [project-name] 

Scripts

  1. Starting project:
    • npm start or yarn start

  2. Clear cache / bundle:
    • npm start --clear or yarn cache clean

  3. Run build:
    • npm run build or yarn 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:

References

  1. https://create-react-app.dev/docs/getting-started/
  2. https://docs.expo.dev/guides/typescript/#get-started
  3. https://classic.yarnpkg.com/en/docs/usage
  4. Fireship Youtube: https://www.youtube.com/@Fireship