-
Notifications
You must be signed in to change notification settings - Fork 109
Translate hooks overview page #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Deploy preview for vi-reactjs-org ready! Built with commit a0cbf0c |
|
||
## ⚡️ Effect Hook {#effect-hook} | ||
|
||
You've likely performed data fetching, subscriptions, or manually changing the DOM from React components before. We call these operations "side effects" (or "effects" for short) because they can affect other components and can't be done during rendering. | ||
Bạn thực hiện lấy dữ liệu, đăng ký, hoặc thay đổi DOM thủ công từ React components trước đây. Chúng tôi gọi các hoạt động đó là "side effects" (hoặc "effects" cho ngắn) bởi vì chúng có thể ảnh hưởng các components khác và không để xong trong qua trình render. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can't be done during rendering should be translated to "không thể thực hiện trong quá trình render"
note the typo "qua" here also
|
||
For example, this component sets the document title after React updates the DOM: | ||
Ví dụ, các components này cài đặt tiêu đề của trang web sau khi React cập nhật DOM: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this component is not plural, so can remove "các"
I've completed translating hooks overview page.
Please review and give me feedback earlier instead of as #22 (no one's reviewed yet for 8 days) to avoid reducing community's spirit!