DEV Community

Cover image for Create first React app
Ganesh Patil
Ganesh Patil

Posted on

Create first React app

React

React js is an open-source JavaScript library that is used for building user interfaces specifically for single-page applications. It's used for handling the view layer for web and mobile apps. React also allows us to create reusable UI components

Create app in React

Create React App is a comfortable environment for learning React, and is the best way to start building a new single-page application in React.

Requirements

Node 14.0.0 or later
Install node from here

Steps to Create app

1.npx create-react-app my-app
2.cd my-app
3.npm start
and here you good to go for react output screen on your window look like this...

Image description

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay