Skip to main content

Intro

React let you to concentrate on developing components, not templates.

Create React App#

By running one command, you can create a single-page React application as follows:

with JavaScript template
npx create-react-app my-appcd my-app#either npm:npm start#or yarn:yarn start 

Now open http://localhost:3000/ to view it in the browser.

with TypeScript template
npx create-react-app my-app --template typescriptcd my-app#either npm:npm start#or yarn:yarn start