React beginner question

Do we need to know what all the react build tools do(like:vite,eslint etc) and add them manually using npm or is it more efficient to use create-react-app
5 Replies
Jochem
Jochem4mo ago
follow the advice in the react docs getting started section, which use vite I think. Do not use create-react-app, it's outdated
Joao
Joao4mo ago
Take a look at this page for details: https://react.dev/learn/start-a-new-react-project You might also want to read a bit about Vite, as you can quickly bootstrap a React project with it: https://vitejs.dev/guide/ In short, run npm create vite@latest and follow the menu to select whichever configuration you prefer. I use this when I need to test something quickly or for small pet projects.
theboyduddus
theboyduddus4mo ago
so what should i use instead
Jochem
Jochem4mo ago
The thing Joao linked
Satcha Takam
Satcha Takam4mo ago
this is a great course to learn react: https://fullstackopen.com/en/
Full stack open
Open online course on JavaScript based modern web development by University of Helsinki and Houston Inc..