Skip to content

feat(i18n): src/content/learn/removing-effect-dependencies.md from English to Vietnamese #491

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

KotonoSora
Copy link
Contributor

🇻🇳 Vietnamese Translation: Removing Effect Dependencies

Hi! I'm contributing as a volunteer translator for vi.react.dev, and this PR adds the Vietnamese translation for the "Removing Effect Dependencies" lesson.

What's included

  • Vietnamese translation of removing-effect-dependencies.md
  • Preserved all code examples and markdown formatting
  • Kept terminology consistent with existing translations

Changes

  • ✅ Fully translated the guide covering how to remove unnecessary Effect dependencies, debug infinite loops, optimize Effect performance, and handle object/function dependencies
  • ✅ Maintained code blocks, links, Sandpack components and Challenge/Solution sections
  • ✅ Verified all internal links and formatting render correctly

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:
"Removing Effect Dependencies" → "Loại bỏ các dependency không cần thiết của Effect"

Các phần chính:

  • "Dependencies should match the code" → "Các dependency nên khớp với code"
  • "To remove a dependency, prove that it's not a dependency" → "Để loại bỏ một dependency, hãy chứng minh rằng nó không phải là dependency"
  • "To change the dependencies, change the code" → "Để thay đổi các dependency, hãy thay đổi code"
  • "Removing unnecessary dependencies" → "Loại bỏ các dependency không cần thiết"
  • "Should this code move to an event handler?" → "Code này có nên chuyển sang event handler không?"
  • "Is your Effect doing several unrelated things?" → "Effect của bạn có đang làm nhiều việc không liên quan không?"
  • "Are you reading some state to calculate the next state?" → "Bạn có đang đọc một số state để tính toán state tiếp theo không?"
  • "Do you want to read a value without reacting to its changes?" → "Bạn có muốn đọc một giá trị mà không 'phản ứng' với những thay đổi của nó không?"
  • "Does some reactive value change unintentionally?" → "Có giá trị reactive nào thay đổi một cách không cố ý không?"

Phần Challenges:

  • "Fix a resetting interval" → "Sửa interval bị reset"
  • "Fix a retriggering animation" → "Sửa animation bị kích hoạt lại"
  • "Fix a reconnecting chat" → "Sửa chat bị kết nối lại"
  • "Fix a reconnecting chat, again" → "Sửa chat bị kết nối lại, lần nữa"

Copy link

vercel bot commented Jun 20, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
vi-legacy-reactjs-org ⬜️ Ignored (Inspect) Visit Preview Jun 20, 2025 0:17am

Copy link

Size changes

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant