Skip to content

Commit 5af8ca2

Browse files
committed
revert translate cdn link page
1 parent b495de9 commit 5af8ca2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

content/docs/cdn-links.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,32 +6,32 @@ prev: create-a-new-react-app.html
66
next: release-channels.html
77
---
88

9-
Cả React ReactDOM đều có sẵn trên CDN.
9+
Both React and ReactDOM are available over a CDN.
1010

1111
```html
1212
<script crossorigin src="https://unpkg.com/react@17/umd/react.development.js"></script>
1313
<script crossorigin src="https://unpkg.com/react-dom@17/umd/react-dom.development.js"></script>
1414
```
1515

16-
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:
1717

1818
```html
1919
<script crossorigin src="https://unpkg.com/react@17/umd/react.production.min.js"></script>
2020
<script crossorigin src="https://unpkg.com/react-dom@17/umd/react-dom.production.min.js"></script>
2121
```
2222

23-
Để tải một phiên bản cụ thể của `react` `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.
2424

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}
2626

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:
2828

2929
```html
3030
<script crossorigin src="..."></script>
3131
```
3232

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:
3434

3535
![Access-Control-Allow-Origin: *](../images/docs/cdn-cors-header.png)
3636

37-
Điều này cho phép trải nghiệm [xử lý lỗi tốt hơn](/blog/2017/07/26/error-handling-in-react-16.html) trong React 16 trở lên.
37+
This enables a better [error handling experience](/blog/2017/07/26/error-handling-in-react-16.html) in React 16 and later.

0 commit comments

Comments
 (0)