Creating a React App with Vite or CRA
React apps can be created using Vite (fast) or CRA (standard).
Using Vite:
npm create vite@latest my-app -- --template react
cd my-app
npm install
npm run dev
Using Create React App (CRA):
npx create-react-app my-app
cd my-app
npm start
Both tools scaffold a new React project with default configurations.