Learn to Code via Tutorials on Repl.it

← Back to all posts
React Get Started Tutorial
h
Coder100 (1321)

React

React is a verbose JavaScript framework for making reusable components and improve workflow.

Why this tutorial

This tutorial shows you how to use create-react-app on repl.it to make a boilerplate for your react app. NOTE: Takes up like 160MB lol

Get started

npm install -g create-react-app

Install the CLI.

npx create-react-app myfirstreact

Use the CLI to make the boilerplate.

cd myfirstreact
npm start

Launch the server!

Debugging

If you don't see an atom image with this text:

Edit src/App.js and save to reload.
Learn React

Something went wrong.

  • Check for any red text: they are helpful errors

Closing

After this. You might want to learn react
There is also a nice tutorial by @CaptainAnon here

Commentshotnewtop