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
Jochem10mo 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
Joao10mo 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
theboyduddusOP10mo ago
so what should i use instead
Jochem
Jochem10mo ago
The thing Joao linked
Satcha Takam
Satcha Takam10mo 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..
Want results from more Discord servers?
Add your server