2 artifacts
Tap to collapse details
npm create vite@latest my-react-app -- --template react cd my-react-app npm install npm run dev
Open http://localhost:5173. You should see the Vite + React logo.
Pro Tip: Use online editors like CodeSandbox for quick tests without setup.
❌ Skipping `npm install` after project creation
→Always run `npm install` to fetch dependencies
❌ Using outdated Create React App
→Use Vite for faster setup as CRA is deprecated
Tap to expand details
Spin up a personalized “learn React” plan you can save, check off, and return to anytime — unlimited on the free trial.
Scrimba
by Robin Wieruch
Core tutorials and reference
Hands-on intro to 80% of React
Build a full interactive game
Inspect component tree, props, state
Fast build tool for React apps
JavaScript runtime for development