What is react.js?

React started as an internal project at Facebook. Because none of the JavaScript MVC frameworks on the market at the time could meet Facebook’s requirements, a set of frameworks were created internally. It’s mainly used on Instagram, a photo-social App acquired by Facebook. It was later opened in May 2013 and made available to all.

The 21 Cloud Box provides a very simple react. js deployment method. You can deploy on the 21 Cloud Box in a static web environment.

How to deploy it?

  1. Register as a member of 21 Cloud Box
  2. The Fork React. Js sample
  3. Create a cloud service on cloud box 21 and give cloud Box 21 access to your code base
  4. Create with the following configuration
The environment A static page
Build commands yarn && yarn build
Release directory ./build

If the description of the above text is not clear, you can refer to the following actual operation:

www.bilibili.com/video/BV1nD…

Why deploy on 21 Cloud Box?

Reason 1: Convenience

Since its establishment, Cloud Box has been the first in China to truly provide functions such as Netlify, Heroku and other easily deployed functions, while ensuring the speed and stability of services. For each cloud service project, you only need to complete 2 configurations for the first time, and then when you Git Push code, 21 Cloud Box will help you complete automatic deployment.

Cause 2: 21 Cloud Box is stable and provides a website record solution

If your site currently uses Services like Netlify, Vercel, Gatsby Cloud, etc., it will not be accessible to domestic users.

Why is that? According to the requirements of the Ministry of Industry and Information Technology of The People’s Republic of China, all websites online in China must first complete the filing, but foreign cloud service platforms do not provide domestic filing, so the cloud service platform deployed in foreign countries may be temporarily accessible, but in the long run, it will be very unstable.

Reason 3: Fast domestic visits

No matter how good the service is, if you open it too slowly, you can’t use it. The cloud service deployed on the 21 Cloud Box realizes the deployment of CDN nodes across the country with one click. In order to face and foreign major service comparison case:

  • Cloud Box vs Netlify

  • Cloud Box vs. Vercel

  • Cloud Box vs Heroku

  • 21 Cloud Box vs Github Pages

The original blog post from: 21 official blog www.21yunbox.com/blog/soluti cloud box…