Project SetUp:-
There are multiple way to setup your react project but in this blog we use bundler
set up your custom build process with a bundler like Vite or Parcel, and add other tools as you need them for routing, static generation or server-side rendering, and more.
Method 1) in terminal write $ npx create-react-app [project name], this method take too long because it download all bundles
Method 2) vite bundle method
in terminal write i) for npm :- $ npm create vite@latest
ii) for yarn :- $ yarn create vite
iii) for pnpm:-$ pnpm create vite
iv) for bun :- $ bunx create-vite
Note:- Remeber that in second method you don't find node_modules file. To install that write npm install in terminal.