Getting Started with React
Create React App is an officially supported way to create single-page React applications. It provides a modern build setup with zero configuration required.
Quick Start
To quickly get started with Create React App, follow these steps:
npx create-react-app my-app
cd my-app
npm start
If you have previously installed create-react-app globally using npm install -g create-react-app, we recommend uninstalling it using npm uninstall -g create-react-app or yarn global remove create-react-app to ensure that the latest version is always used.
Once the above commands have executed successfully, open http://localhost:3000/ in your browser to see your app.
When you are ready to deploy your app to production, create a minified bundle using npm run build.