User Tools

Site Tools


react_cheat_sheet

React Cheat Sheet

Create

npx create-react-app my-app

Run (development environment)

cd my-app
 
npm start

Default development server will run at http://localhost:3000

Build / Publish

After you design and test the application, build with this:

npm run build

To deploy, upload the contents of the build directory to your web server.

react_cheat_sheet.txt · Last modified: 2023/07/14 13:09 by jimc