React Tutorial #2: React Setup — Create Your First App
In the previous tutorial, you learned what React is. Now let’s set up a React project and build your first component. What You Need Before starting, install Node.js (version 20 or higher). Node.js includes npm, the package manager we use. Check your versions: node --version # should be 20+ npm --version # should be 10+ Create React App is Dead — Use Vite The old way to create a React project was create-react-app (CRA). CRA is now deprecated and no longer maintained. Do not use it. ...