To create react app use these two methods
npx create-react-app project-name
npm install vite@latest
I use second method because it's lite weighted and a fast.
1- I learn how to setup react-project and how files works. 2- I understand the react flow and files structures. 3- I learn how to create own files and how to execute it. 4- Learn how to create own react-library using simple javascript object, File. 5- Learn how to create own react-library using react method.