Skip to content

Commit 89f4d4b

Browse files
committed
translate to vietnamese reactjs#2
1 parent b946f6b commit 89f4d4b

20 files changed

+1130
-1149
lines changed

src/content/errors/377.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<Intro>
22

3-
In the minified production build of React, we avoid sending down full error messages in order to reduce the number of bytes sent over the wire.
3+
Trong bản dựng production đã rút gọn của React, chúng tôi tránh gửi toàn bộ thông báo lỗi để giảm số lượng byte được gửi qua mạng.
44

55
</Intro>
66

7-
We highly recommend using the development build locally when debugging your app since it tracks additional debug info and provides helpful warnings about potential problems in your apps, but if you encounter an exception while using the production build, this page will reassemble the original error message.
7+
Chúng tôi đặc biệt khuyên bạn nên sử dụng bản dựng development cục bộ khi gỡ lỗi ứng dụng của mình vì nó theo dõi thông tin gỡ lỗi bổ sung và cung cấp các cảnh báo hữu ích về các sự cố tiềm ẩn trong ứng dụng của bạn, nhưng nếu bạn gặp phải ngoại lệ khi sử dụng bản dựng production, trang này sẽ tập hợp lại thông báo lỗi ban đầu.
88

9-
The full text of the error you just encountered is:
9+
Toàn văn của lỗi bạn vừa gặp phải là:
1010

1111
<ErrorDecoder />
1212

13-
This error occurs when you pass a BigInt value from a Server Component to a Client Component.
13+
Lỗi này xảy ra khi bạn truyền giá trị BigInt từ một Server Component sang một Client Component.

src/content/errors/generic.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<Intro>
22

3-
In the minified production build of React, we avoid sending down full error messages in order to reduce the number of bytes sent over the wire.
3+
Trong bản dựng production đã rút gọn của React, chúng tôi tránh gửi toàn bộ thông báo lỗi để giảm số lượng byte được gửi qua mạng.
44

55
</Intro>
66

7-
We highly recommend using the development build locally when debugging your app since it tracks additional debug info and provides helpful warnings about potential problems in your apps, but if you encounter an exception while using the production build, this page will reassemble the original error message.
7+
Chúng tôi đặc biệt khuyên bạn nên sử dụng bản dựng development cục bộ khi gỡ lỗi ứng dụng của mình vì nó theo dõi thông tin gỡ lỗi bổ sung và cung cấp các cảnh báo hữu ích về các sự cố tiềm ẩn trong ứng dụng của bạn, nhưng nếu bạn gặp phải ngoại lệ khi sử dụng bản dựng production, trang này sẽ tập hợp lại thông báo lỗi ban đầu.
88

9-
The full text of the error you just encountered is:
9+
Toàn văn của lỗi bạn vừa gặp phải là:
1010

1111
<ErrorDecoder />

src/content/errors/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<Intro>
22

3-
In the minified production build of React, we avoid sending down full error messages in order to reduce the number of bytes sent over the wire.
3+
Trong bản dựng production đã rút gọn của React, chúng tôi tránh gửi toàn bộ thông báo lỗi để giảm số lượng byte được gửi qua mạng.
44

55
</Intro>
66

77

8-
We highly recommend using the development build locally when debugging your app since it tracks additional debug info and provides helpful warnings about potential problems in your apps, but if you encounter an exception while using the production build, the error message will include just a link to the docs for the error.
8+
Chúng tôi đặc biệt khuyên bạn nên sử dụng bản dựng development cục bộ khi gỡ lỗi ứng dụng của mình vì nó theo dõi thông tin gỡ lỗi bổ sung và cung cấp các cảnh báo hữu ích về các sự cố tiềm ẩn trong ứng dụng của bạn, nhưng nếu bạn gặp phải ngoại lệ khi sử dụng bản dựng production, thông báo lỗi sẽ chỉ bao gồm một liên kết đến tài liệu về lỗi đó.
99

10-
For an example, see: [https://react.dev/errors/149](/errors/421).
10+
Ví dụ: [https://react.dev/errors/149](/errors/421).

src/content/learn/passing-props-to-a-component.md

Lines changed: 77 additions & 80 deletions
Large diffs are not rendered by default.

src/content/learn/sharing-state-between-components.md

Lines changed: 64 additions & 64 deletions
Large diffs are not rendered by default.

src/content/learn/typescript.md

Lines changed: 120 additions & 124 deletions
Large diffs are not rendered by default.

src/content/learn/understanding-your-ui-as-a-tree.md

Lines changed: 47 additions & 48 deletions
Large diffs are not rendered by default.

src/content/learn/you-might-not-need-an-effect.md

Lines changed: 175 additions & 176 deletions
Large diffs are not rendered by default.
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
---
2-
title: Client React DOM APIs
2+
title: Các API React DOM Client
33
---
44

55
<Intro>
66

7-
The `react-dom/client` APIs let you render React components on the client (in the browser). These APIs are typically used at the top level of your app to initialize your React tree. A [framework](/learn/start-a-new-react-project#production-grade-react-frameworks) may call them for you. Most of your components don't need to import or use them.
7+
Các API `react-dom/client` cho phép bạn hiển thị các thành phần React trên client (trong trình duyệt). Các API này thường được sử dụng ở cấp cao nhất của ứng dụng để khởi tạo cây React của bạn. Một [framework](/learn/start-a-new-react-project#production-grade-react-frameworks) có thể gọi chúng cho bạn. Hầu hết các thành phần của bạn không cần nhập hoặc sử dụng chúng.
88

99
</Intro>
1010

1111
---
1212

13-
## Client APIs {/*client-apis*/}
13+
## Các API Client {/*client-apis*/}
1414

15-
* [`createRoot`](/reference/react-dom/client/createRoot) lets you create a root to display React components inside a browser DOM node.
16-
* [`hydrateRoot`](/reference/react-dom/client/hydrateRoot) lets you display React components inside a browser DOM node whose HTML content was previously generated by [`react-dom/server`.](/reference/react-dom/server)
15+
* [`createRoot`](/reference/react-dom/client/createRoot) cho phép bạn tạo một root để hiển thị các thành phần React bên trong một nút DOM của trình duyệt.
16+
* [`hydrateRoot`](/reference/react-dom/client/hydrateRoot) cho phép bạn hiển thị các thành phần React bên trong một nút DOM của trình duyệt có nội dung HTML đã được tạo trước đó bởi [`react-dom/server`.](/reference/react-dom/server)
1717

1818
---
1919

20-
## Browser support {/*browser-support*/}
20+
## Hỗ trợ trình duyệt {/*browser-support*/}
2121

22-
React supports all popular browsers, including Internet Explorer 9 and above. Some polyfills are required for older browsers such as IE 9 and IE 10.
22+
React hỗ trợ tất cả các trình duyệt phổ biến, bao gồm Internet Explorer 9 trở lên. Một số polyfill là bắt buộc đối với các trình duyệt cũ hơn như IE 9 IE 10.

0 commit comments

Comments
 (0)