vi.react.dev icon indicating copy to clipboard operation
vi.react.dev copied to clipboard

feat(i18n): src/content/learn/separating-events-from-effects.md from English to Vietnamese

Open KotonoSora opened this issue 7 months ago • 2 comments

🇻🇳 Vietnamese Translation: Separating Events from Effects

Hi! I'm contributing as a volunteer translator for vi.react.dev, and this PR adds the Vietnamese translation for the "Separating Events from Effects" lesson.

What's included

  • Vietnamese translation of separating-events-from-effects.md
  • Preserved all code examples and markdown formatting
  • Kept terminology consistent with existing translations

Changes

  • ✅ Fully translated the guide covering the separation between event handlers and Effects in React
  • ✅ 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: "Separating Events from Effects" → "Tách biệt sự kiện và Effect"

Các phần chính:

  • "Choosing between event handlers and Effects" → "Lựa chọn giữa event handler và Effect"
  • "Reactive values and reactive logic" → "Giá trị reactive và logic reactive"
  • "Extracting non-reactive logic from Effects" → "Tách logic không reactive ra khỏi Effect"
  • "Declaring an Effect Event" → "Khai báo một Effect Event"
  • "Reading latest props and state with Effect Events" → "Đọc props và state mới nhất với Effect Event"
  • "Limitations of Effect Events" → "Giới hạn của Effect Event"

Phần Challenges:

  • "Fix a connection reset bug" → "Sửa lỗi reset kết nối"
  • "Fix a retriggering animation" → "Sửa lỗi animation kích hoạt lại"
  • "Fix a delayed notification" → "Sửa lỗi thông báo bị trễ"

KotonoSora avatar Jun 19 '25 00:06 KotonoSora