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

Discussion (0)