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
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ The documentation is divided into several sections with a different tone and pur
57
57
58
58
## Translation
59
59
60
-
If you are interested in translating `reactjs.org`, please see the current translation efforts at [isreacttranslatedyet.com](https://www.isreacttranslatedyet.com/).
60
+
If you are interested in translating `reactjs.org`, please see the current translation efforts at [translations.reactjs.org](https://translations.reactjs.org/).
61
61
62
62
63
63
If your language does not have a translation and you would like to create one, please follow the instructions at [reactjs.org Translations](https://github.com/reactjs/reactjs.org-translation#translating-reactjsorg).
Copy file name to clipboardExpand all lines: content/blog/2018-10-23-react-v-16-6.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,7 +119,7 @@ Refer to the documentation for [detailed installation instructions](/docs/instal
119
119
## Changelog {#changelog}
120
120
121
121
### React {#react}
122
-
122
+
123
123
* Add `React.memo()` as an alternative to `PureComponent` for functions. ([@acdlite](https://github.com/acdlite) in [#13748](https://github.com/facebook/react/pull/13748))
124
124
* Add `React.lazy()` for code splitting components. ([@acdlite](https://github.com/acdlite) in [#13885](https://github.com/facebook/react/pull/13885))
125
125
*`React.StrictMode` now warns about legacy context API. ([@bvaughn](https://github.com/bvaughn) in [#13760](https://github.com/facebook/react/pull/13760))
Copy file name to clipboardExpand all lines: content/community/conferences.md
+28-8Lines changed: 28 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
---
2
2
id: conferences
3
-
title: Conferences
3
+
title: Các hội nghị
4
4
layout: community
5
5
sectionid: community
6
6
permalink: community/conferences.html
7
7
redirect_from:
8
8
- "docs/conferences.html"
9
9
---
10
10
11
-
Do you know of a local React.js conference? Add it here! (Please keep the list chronological)
11
+
Bạn có biết về hội nghị React.js ở địa phương hay khu vực của bạn không? Hãy thêm nó vào đây! (Và vui lòng giữ nguyên danh sách theo thứ tự thời gian).
12
12
13
13
## Upcoming Conferences {#upcoming-conferences}
14
14
@@ -17,29 +17,49 @@ September 13-15, 2021. Atlanta, GA, USA
-[Scrimba: Learn React for free](https://scrimba.com/g/glearnreact) - 48 hands-on video tutorials building react apps.
26
26
27
+
-[University of Helsinki: Full Stack Open MOOC](https://fullstackopen.com/en/) - Learn to build web applications with React. Available in English, Spanish, Chinese and Finnish.
28
+
29
+
27
30
## Paid Courses {#paid-courses}
28
31
29
32
-[Egghead.io](https://egghead.io/browse/frameworks/react) - Short instructional videos on React and many other topics.
Copy file name to clipboardExpand all lines: content/community/support.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,28 +8,28 @@ redirect_from:
8
8
- "support.html"
9
9
---
10
10
11
-
React has a community of millions of developers.
11
+
React có một cộng đồng hàng triệu lập trình viên.
12
12
13
-
On this page we've listed some React-related communities that you can be a part of; see the other pages in this section for additional online and in-person learning materials.
13
+
Trên trang này chúng tôi đã liệt kê ra một số cộng đồng liên quan đến React mà bạn có thể tham gia; xem các trang khác trong phần này để biết thêm tài liệu học online và trực tiếp.
14
14
15
-
Before participating in React's communities, [please read our Code of Conduct](https://github.com/facebook/react/blob/main/CODE_OF_CONDUCT.md). We have adopted the [Contributor Covenant](https://www.contributor-covenant.org/)and we expect that all community members adhere to the guidelines within.
15
+
Trước khi tham gia vào cộng đồng React, [vui lòng đọc Quy tắc ứng xử của chúng tôi](https://github.com/facebook/react/blob/main/CODE_OF_CONDUCT.md). Chúng tôi đã áp dụng [Giao ước cộng tác viên](https://www.contributor-covenant.org/)và chúng tôi hi vọng các thành viên trong cộng đồng sẽ tuân thủ các qui tắc.
16
16
17
17
## Stack Overflow {#stack-overflow}
18
18
19
-
Stack Overflow is a popular forum to ask code-level questions or if you're stuck with a specific error. Read through the [existing questions](https://stackoverflow.com/questions/tagged/reactjs)tagged with **reactjs**or [ask your own](https://stackoverflow.com/questions/ask?tags=reactjs)!
19
+
Stack Overflow là một diễn đàn nổi tiếng để đặt các câu hỏi về code hoặc nếu bạn gặp một lỗi cụ thể. Đọc qua [câu hỏi hiện có](https://stackoverflow.com/questions/tagged/reactjs)được gắn thẻ **reactjs**hoặc [câu hỏi của riêng bạn](https://stackoverflow.com/questions/ask?tags=reactjs)!
20
20
21
-
## Popular Discussion Forums {#popular-discussion-forums}
21
+
## Diễn đàn thảo luận phổ biến {#popular-discussion-forums}
22
22
23
-
There are many online forums which are a great place for discussion about best practices and application architecture as well as the future of React. If you have an answerable code-level question, Stack Overflow is usually a better fit.
23
+
Có rất nhiều diễn đàn online là nơi tuyệt vời để thảo luận về phương pháp hay nhất và kiến trúc ứng dụng cũng như tương lai của React. Nếu bạn có một câu hỏi về code có thể trả lời được, Stack Overflow là một nơi phù hợp.
24
24
25
-
Each community consists of many thousands of React users.
25
+
Mỗi cộng đồng bao gồm hàng nghìn người dùng React.
*[Cộng đồng React của DEV](https://dev.to/t/react)
28
+
*[Cộng đồng React của Hashnode](https://hashnode.com/n/reactjs)
29
+
*[Trò chuyện online với Reactiflux](https://discord.gg/reactiflux)
30
+
*[Cộng đồng React của Reddit](https://www.reddit.com/r/reactjs/)
31
+
*[Cộng đồng React của Spectrum](https://spectrum.chat/react)
32
32
33
-
## News {#news}
33
+
## Tin tức {#news}
34
34
35
-
For the latest news about React, [follow **@reactjs**on Twitter](https://twitter.com/reactjs)and the [official React blog](/blog/)on this website.
35
+
Để biết thêm tin tức mới nhất về React, [theo dõi **@reactjs**trên Twitter](https://twitter.com/reactjs)và [blog chính thức của React](/blog/)trên trang này.
var PureRenderMixin =require('react-addons-pure-render-mixin'); // ES5 with npm
17
+
var PureRenderMixin =require('react-addons-pure-render-mixin'); // ES5 với npm
18
18
```
19
19
20
-
## Overview {#overview}
20
+
## Tổng quát {#overview}
21
21
22
-
If your React component's render function renders the same result given the same props and state, you can use this mixin for a performance boost in some cases.
22
+
Nếu function render của React component của bạn hiển thị cùng một kết quả với cùng prop và state, bạn có thể sử dụng mixin để tăng hiệu suất trong một số trường hợp.
Under the hood, the mixin implements [shouldComponentUpdate](/docs/component-specs.html#updating-shouldcomponentupdate), in which it compares the current props and state with the next ones and returns `false`if the equalities pass.
38
+
Xem xét một cách kỹ lưỡng, mixin thực hiện [shouldComponentUpdate](/docs/component-specs.html#updating-shouldcomponentupdate), trong đó nó so sánh prop và state hiện tại với những cái tiếp theo và trả về `false`nếu chúng bằng nhau.
39
39
40
-
> Note:
40
+
> Lưu ý:
41
41
>
42
-
> This only shallowly compares the objects. If these contain complex data structures, it may produce false-negatives for deeper differences. Only mix into components which have simple props and state, or use`forceUpdate()`when you know deep data structures have changed. Or, consider using [immutable objects](https://facebook.github.io/immutable-js/)to facilitate fast comparisons of nested data.
42
+
> Đây chỉ là so sánh nông với các object. Nếu object chứa cấu trúc dữ liệu phức tạp, nó có thể tạo ra các trường hợp sai đối với sự khác nhau sâu trong nhiều cấp của object. Chỉ được dùng đối với component có prop và state đơn giản, hoặc dùng`forceUpdate()`khi bạn biết cấu trúc dữ liệu sâu bên trong đã thay đổi. Có thể cân nhắc sử dụng [immutable objects](https://facebook.github.io/immutable-js/)để dễ dàng so sánh các dữ liệu lồng nhau.
43
43
>
44
-
> Furthermore, `shouldComponentUpdate`skips updates for the whole component subtree. Make sure all the children components are also "pure".
44
+
> Hơn nữa, `shouldComponentUpdate`bỏ qua cập nhật toàn bộ các component con. Hãy đảm bảo rằng tất cả các component con cũng là "pure".
0 commit comments