vi.react.dev
vi.react.dev copied to clipboard
feat(i18n): src/content/learn/removing-effect-dependencies.md from English to Vietnamese
🇻🇳 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"