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
follow the advice in the react docs getting started section, which use vite I think. Do not use create-react-app, it's outdated
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.so what should i use instead
The thing Joao linked
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..