ยท Steve Grice  ยท 1 min read

Getting Started with React (Create React App)

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

1. Install NVM

If you donโ€™t already have npm and node installed, use nvm to get going quickly. Run the following to install:

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
bash # or restart your terminal
nvm install 16

2. Generate the project.

npx create-react-app exampleapp
cd exampleapp

3. Start the app in your browser.

npm start

4. Edit the Source

Edit the source code as desired! See the video for live edits.

Share:
Contents
Back to Blog