You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Các phiên bản trên chỉ dành cho develop và không phù hợp cho production. Các phiên bản production thu nhỏ và tối ưu hóa của React có sẵn tại:
16
+
The versions above are only meant for development, and are not suitable for production. Minified and optimized production versions of React are available at:
Để tải một phiên bản cụ thể của `react`và`react-dom`, thay thế `17`với số phiên bản.
23
+
To load a specific version of `react`and`react-dom`, replace `17`with the version number.
24
24
25
-
### Tại sao lại có Thuộc Tính `crossorigin`? {#why-the-crossorigin-attribute}
25
+
### Why the `crossorigin` Attribute? {#why-the-crossorigin-attribute}
26
26
27
-
Nếu bạn phân phối React từ CDN, chúng tôi khuyên bạn nên giữ bộ thuộc tính [`crossorigin`](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes):
27
+
If you serve React from a CDN, we recommend to keep the [`crossorigin`](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) attribute set:
28
28
29
29
```html
30
30
<scriptcrossoriginsrc="..."></script>
31
31
```
32
32
33
-
Chúng tôi cũng khuyên bạn nên xác minh rằng CDN bạn đang sử dụng đặt`Access-Control-Allow-Origin: *` HTTP header:
33
+
We also recommend to verify that the CDN you are using sets the`Access-Control-Allow-Origin: *` HTTP header:
0 commit comments