React - Getting Started

create-react-app

npx create-react-app <app_name>
## or
yarn create react-app <app_name>
# typescript
npx create-react-app <app_name> --template typescript
## or
yarn create react-app <app_name> --template typescript

references:

@vitejs/app

npm init @vitejs/app <app_name> --template react
## or
yarn create @vitejs/app <app_name> --template react
# typescript
npm init @vitejs/app <app_name> --template react-ts
## or
yarn create @vitejs/app <app_name> --template react-ts

references:

create-snowpack-app

npx create-snowpack-app <app_name> --template @snowpack/app-template-react-typescript [--use-yarn | --use-pnpm | --no-install]
# or
npx create-snowpack-app <app_name> --template @snowpack/app-template-react

references:

Next.js create-next-app

npx create-next-app <app_name>
# or
yarn create next-app <app_name>

reference: nextjs.org

Gatsby

npm init gatsby
# interactive setup

reference: gatsbyjs.com