Setting Up React

Installing React

To set up a React project, use the following command:

npx create-react-app my-app
cd my-app
npm start

Alternatively, for a Vite-powered React app:

npx create-react-app my-app
cd my-app
npm start