diff --git a/content/community/conferences.md b/content/community/conferences.md index 132d041b7..665ca8006 100644 --- a/content/community/conferences.md +++ b/content/community/conferences.md @@ -12,6 +12,11 @@ Bạn có biết về hội nghị React.js ở địa phương hay khu vực c ## Upcoming Conferences {#upcoming-conferences} +### AgentConf 2022 {#agent-conf-2022} +January 27th - 30th, 2022. In-person in Dornbirn and Lech Austria + +[Website](https://agent.sh/) - [Twitter](https://twitter.com/AgentConf) - [Instagram](https://www.instagram.com/teamagent/) + ### React Brussels 2021 {#react-brussels-2021} October 15, 2021 - remote event @@ -43,6 +48,11 @@ November 12-14, 2021 - remote event [Website](https://www.reactindia.io) - [Twitter](https://twitter.com/react_india) - [Facebook](https://www.facebook.com/ReactJSIndia/) - [LinkedIn](https://www.linkedin.com/showcase/14545585) - [YouTube](https://www.youtube.com/channel/UCaFbHCBkPvVv1bWs_jwYt3w/videos) +### render(ATL) 2022 {#render-atlanta-2022} +June 2-4, 2022. Atlanta, GA, USA + +[Website](https://renderatl.com) - [Twitter](https://twitter.com/renderATL) - [Instagram](https://www.instagram.com/renderatl/) - [Facebook](https://www.facebook.com/renderatl/) - [LinkedIn](https://www.linkedin.com/company/renderatl) + ## Past Conferences {#past-conferences} ### render(ATL) 2021 {#render-atlanta-2021} diff --git a/content/community/meetups.md b/content/community/meetups.md index ce24128e3..fadf35ec2 100644 --- a/content/community/meetups.md +++ b/content/community/meetups.md @@ -112,6 +112,9 @@ Bạn đã có React.js meetup tại quốc gia của bạn chưa? Thêm nó và ## Ý {#italy} * [Milan](https://www.meetup.com/React-JS-Milano/) +## Kenya {#kenya} +* [Nairobi - Reactdevske](https://kommunity.com/reactjs-developer-community-kenya-reactdevske) + ## Malaysia {#malaysia} * [Kuala Lumpur](https://www.kl-react.com/) * [Penang](https://www.facebook.com/groups/reactpenang/) diff --git a/content/community/support.md b/content/community/support.md index 55393365a..f4ba5231c 100644 --- a/content/community/support.md +++ b/content/community/support.md @@ -24,11 +24,18 @@ Có rất nhiều diễn đàn online là nơi tuyệt vời để thảo luận Mỗi cộng đồng bao gồm hàng nghìn người dùng React. +<<<<<<< HEAD * [Cộng đồng React của DEV](https://dev.to/t/react) * [Cộng đồng React của Hashnode](https://hashnode.com/n/reactjs) * [Trò chuyện online với Reactiflux](https://discord.gg/reactiflux) * [Cộng đồng React của Reddit](https://www.reddit.com/r/reactjs/) * [Cộng đồng React của Spectrum](https://spectrum.chat/react) +======= +* [DEV's React community](https://dev.to/t/react) +* [Hashnode's React community](https://hashnode.com/n/reactjs) +* [Reactiflux online chat](https://discord.gg/reactiflux) +* [Reddit's React community](https://www.reddit.com/r/reactjs/) +>>>>>>> f2158e36715acc001c8317e20dc4f45f9e2089f3 ## Tin tức {#news} diff --git a/content/docs/concurrent-mode-suspense.md b/content/docs/concurrent-mode-suspense.md index dc231d19f..51e1e0cb7 100644 --- a/content/docs/concurrent-mode-suspense.md +++ b/content/docs/concurrent-mode-suspense.md @@ -100,7 +100,7 @@ function ProfileTimeline() { This demo is a teaser. Don't worry if it doesn't quite make sense yet. We'll talk more about how it works below. Keep in mind that Suspense is more of a *mechanism*, and particular APIs like `fetchProfileData()` or `resource.posts.read()` in the above example are not very important. If you're curious, you can find their definitions right in the [demo sandbox](https://codesandbox.io/s/frosty-hermann-bztrp). -Suspense is not a data fetching library. It's a **mechanism for data fetching libraries** to communicate to React that *the data a component is reading is not ready yet*. React can then wait for it to be ready and update the UI. At Facebook, we use Relay and its [new Suspense integration](docs/getting-started/step-by-step-guide/). We expect that other libraries like Apollo can provide similar integrations. +Suspense is not a data fetching library. It's a **mechanism for data fetching libraries** to communicate to React that *the data a component is reading is not ready yet*. React can then wait for it to be ready and update the UI. At Facebook, we use Relay and its [new Suspense integration](https://relay.dev/docs/getting-started/step-by-step-guide/). We expect that other libraries like Apollo can provide similar integrations. In the long term, we intend Suspense to become the primary way to read asynchronous data from components -- no matter where that data is coming from. diff --git a/content/docs/hooks-faq.md b/content/docs/hooks-faq.md index 0917a74c3..3b46f91e0 100644 --- a/content/docs/hooks-faq.md +++ b/content/docs/hooks-faq.md @@ -912,13 +912,9 @@ Lưu ý bạn có thể chọn giữa truyền *state* của ứng dụng xuốn >Lưu ý > -<<<<<<< HEAD >Chúng tôi đề xuất [truyền `dispatch` xuống các context](#how-to-avoid-passing-callbacks-down) thay vì các callback độc lập qua prop. Cách tiếp cận bên dưới chỉ đề cập ở đây để đầy đủ và như là một cách hatch. > >Cũng lưu ý rằng pattern này có thể gây ra vấn đề trong [chế độ concurrent ](/blog/2018/03/27/update-on-async-rendering.html). Chúng tôi có kế hoạch cung cấp một cách làm khác hữu hiệu trong tương lai, nhưng giải pháp an toàn nhất hiện nay là luôn luôn vô hiệu hóa callback nếu một vài giá trị phụ thuộc vào thay đổi. -======= ->We recommend to [pass `dispatch` down in context](#how-to-avoid-passing-callbacks-down) rather than individual callbacks in props. The approach below is only mentioned here for completeness and as an escape hatch. ->>>>>>> 4133943e718a77f11627888db2f59f6cb7a73403 Trong vài trường hợp các biệt, bạn cần nhớ 1 callback với [`useCallback`](/docs/hooks-reference.html#usecallback) nhưng việc nhớ này không làm việc tốt bởi vì hàm bên trong bị re-create quá nhiều lần. Nếu hàm bạn nhớ là một hàm xử lý sự kiện và không được sử dụng trong quá trình render, bạn có thể sử dụng [ref như một biến instance](#is-there-something-like-instance-variables), và lưu giá trị lần commit sau cùng một cách thủ công: diff --git a/content/tutorial/tutorial.md b/content/tutorial/tutorial.md index d97e39125..126287b58 100644 --- a/content/tutorial/tutorial.md +++ b/content/tutorial/tutorial.md @@ -1046,6 +1046,7 @@ Hãy `map` mảng `history` trong phương thức `render` của Game component: **[Xem code chi tiết tại bước này](https://codepen.io/gaearon/pen/EmmGEa?editors=0010)** Với mỗi lịch sử bước đi trong game tic-tac-toe, ta tạo ra một danh sách các `
  • ` chứa một `