React
React is a JavaScript library to build user interfaces (UI), which consist of small units like buttons, text, and images. React helps you combine them into reusable, nestable components. From web pages to mobile apps, all content on the screen can be broken down into components. It is mainly used to build interactive UI components in Single Page Applications.
If you want to quickly experience React, here are some templates based on React deployment:
You can also use Create React App to build React projects without learning and configuring numerous build tools. Live page reloading allows you to focus more on code development and framework fundamentals. During deployment, your bundle is automatically optimized. The following section describes how to build a project using Create React App and deploy it to EdgeOne Makers.
Creating a React App
Create React App is an officially supported React application creation method with zero configuration, suitable for quick start.
1. Ensure Node.js is installed (recommended version ≥ 18).
2. Run in the terminal:
npx create-react-app my-react-app
3. Enter the project and start up.
cd my-react-appnpm start
Deploy Project
Git Deployment
CLI Deployment
You can also install the Makers scaffolding tool. For detailed installation and usage instructions, see EdgeOne CLI. After configuration, use the
edgeone makers deploy command to deploy the project. During deployment, the CLI first automatically builds the project, then uploads and publishes the build artifacts.
