-
Notifications
You must be signed in to change notification settings - Fork 113
feat(i18n): translate src/content/learn/preserving-and-resetting-state.md from English to Vietnamese #479
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
base: main
Are you sure you want to change the base?
Conversation
…e.md from English to Vietnamese
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
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.
Please check the suggestions. Thanks!
- Bạn có thể buộc một cây con đặt lại state của nó bằng cách trao cho nó một key khác. | ||
- Đừng lồng các định nghĩa component, hoặc bạn sẽ đặt lại state một cách vô tình. | ||
|
||
</Recap> |
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.
</Recap> |
|
||
</Recap> | ||
|
||
<Recap> |
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.
<Recap> |
|
||
<Recap> | ||
|
||
- React giữ state miễn là cùng một component được render ở cùng vị trí. |
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.
- React giữ state miễn là cùng một component được render ở cùng vị trí. |
<Recap> | ||
|
||
- React giữ state miễn là cùng một component được render ở cùng vị trí. | ||
- State không được giữ trong các thẻ JSX. Nó được liên kết với vị trí cây mà bạn đặt JSX đó. |
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.
- State không được giữ trong các thẻ JSX. Nó được liên kết với vị trí cây mà bạn đặt JSX đó. |
|
||
- React giữ state miễn là cùng một component được render ở cùng vị trí. | ||
- State không được giữ trong các thẻ JSX. Nó được liên kết với vị trí cây mà bạn đặt JSX đó. | ||
- Bạn có thể buộc một cây con đặt lại state của nó bằng cách trao cho nó một key khác. |
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.
- Bạn có thể buộc một cây con đặt lại state của nó bằng cách trao cho nó một key khác. |
- State không được giữ trong các thẻ JSX. Nó được liên kết với vị trí cây mà bạn đặt JSX đó. | ||
- Bạn có thể buộc một cây con đặt lại state của nó bằng cách trao cho nó một key khác. | ||
- Đừng lồng các định nghĩa component, hoặc bạn sẽ đặt lại state một cách vô tình. | ||
|
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.
- Đừng lồng các định nghĩa component, hoặc bạn sẽ đặt lại state một cách vô tình. | ||
|
||
</Recap> | ||
|
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.
</Recap> | ||
|
||
<Recap> | ||
|
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.
- React giữ state miễn là cùng một component được render ở cùng vị trí. | ||
- State không được giữ trong các thẻ JSX. Nó được liên kết với vị trí cây mà bạn đặt JSX đó. | ||
- Bạn có thể buộc một cây con đặt lại state của nó bằng cách trao cho nó một key khác. | ||
- Đừng lồng các định nghĩa component, hoặc bạn sẽ đặt lại state một cách vô tình. |
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.
- Đừng lồng các định nghĩa component, hoặc bạn sẽ đặt lại state một cách vô tình. |
|
||
In this list, each `Contact` has state that determines whether "Show email" has been pressed for it. Press "Show email" for Alice, and then tick the "Show in reverse order" checkbox. You will notice that it's _Taylor's_ email that is expanded now, but Alice's--which has moved to the bottom--appears collapsed. | ||
Trong danh sách này, mỗi `Contact` có state xác định liệu "Show email" đã được nhấn cho nó hay chưa. Nhấn "Show email" cho Alice, sau đó tick vào checkbox "Show in reverse order". Bạn sẽ nhận thấy rằng email của _Taylor_ được mở rộng bây giờ, nhưng Alice--đã di chuyển xuống dưới--xuất hiện thu gọn. |
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.
Trong danh sách này, mỗi `Contact` có state xác định liệu "Show email" đã được nhấn cho nó hay chưa. Nhấn "Show email" cho Alice, sau đó tick vào checkbox "Show in reverse order". Bạn sẽ nhận thấy rằng email của _Taylor_ được mở rộng bây giờ, nhưng Alice--đã di chuyển xuống dưới--xuất hiện thu gọn. | |
Trong danh sách này, mỗi `Contact` có state xác định liệu "Show email" đã được nhấn cho nó hay chưa. Nhấn "Show email" cho Alice, sau đó tick vào checkbox "Show in reverse order". Bạn sẽ nhận thấy rằng email của _Taylor_ được mở rộng bây giờ, nhưng email của Alice--đã bị di chuyển xuống dưới--bị thu gọn. |
🇻🇳 Vietnamese Translation: Preserving and Resetting State
Hi! I'm contributing as a volunteer translator for vi.react.dev, and this PR adds the Vietnamese translation for the "Preserving and Resetting State" lesson.
What's included
Changes
Looking forward to contributing more translations to the project! 🚀
Tóm tắt những gì đã được dịch:
Tiêu đề và phần Intro:
"Preserving and Resetting State" → "Bảo tồn và đặt lại State"
Các phần chính:
Phần Challenges: