Getting Started with React (Create React App)
May 24, 2022
In this lesson, we learn about how to quickly get started with React (JavaScript framework) using Facebook's Create React App project generator.
Timestamps- 0:00 Intro
- 0:48 Setup - nvm, npm, node
- 1:47 Generate the project
- 2:15 Code changes
- 4:55 Outro
Steps- If you don't already have
andnpm
installed, usenode
to get going quickly. Run the following to install:nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bashbash # or restart your terminalnvm install 16
- Generate the project.
npx create-react-app exampleappcd exampleapp
- Start the app in your browser.
npm start
- Edit the source code as desired! See the video for live edits.