Jun 7, 2024
create react app
on Google and follow the official documentation.npm install -g create-react-app
npx create-react-app my-app
cd my-app
index.html
: Main HTML file where the React app will be rendered.index.js
: Entry point for the React application, where components are rendered.App.js
: Main component file.npm start
App.js
or create new components in src
and see changes reflected immediately upon saving.