Skip to content

feat(i18n): src/content/learn/you-might-not-need-an-effect.md from English to Vietnamese #488

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

@KotonoSora KotonoSora commented Jun 17, 2025

🇻🇳 Vietnamese Translation: You Might Not Need an Effect

Hi! I'm contributing as a volunteer translator for vi.react.dev, and this PR adds the Vietnamese translation for the "You Might Not Need an Effect" lesson.

What's included

  • Vietnamese translation of you-might-not-need-an-effect.md
  • Preserved all code examples and markdown formatting
  • Kept terminology consistent with existing translations

Changes

  • ✅ Fully translated the guide covering how to identify and remove unnecessary Effects from React components
  • ✅ 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:
"You Might Not Need an Effect" → "Bạn có thể không cần Effect"

Các phần chính:

  • "How to remove unnecessary Effects" → "Cách loại bỏ những Effect không cần thiết"
  • "Updating state based on props or state" → "Cập nhật state dựa trên props hoặc state"
  • "Caching expensive calculations" → "Cache những phép tính đắt đỏ"
  • "Resetting all state when a prop changes" → "Reset tất cả state khi một prop thay đổi"
  • "Adjusting some state when a prop changes" → "Điều chỉnh một số state khi một prop thay đổi"
  • "Sharing logic between event handlers" → "Chia sẻ logic giữa các event handler"
  • "Sending a POST request" → "Gửi POST request"
  • "Chains of computations" → "Chuỗi các phép tính"
  • "Initializing the application" → "Khởi tạo ứng dụng"
  • "Notifying parent components about state changes" → "Thông báo cho component cha về những thay đổi state"
  • "Passing data to the parent" → "Truyền dữ liệu cho cha"
  • "Subscribing to an external store" → "Subscribe vào external store"
  • "Fetching data" → "Fetch dữ liệu"

Phần Challenges:

  • "Extract non-event logic out of event handlers" → "Trích xuất logic không phải sự kiện ra khỏi event handler"
  • "Fix a variable that doesn't update" → "Sửa một biến không cập nhật"
  • "Fix a freezing chat input" → "Sửa input chat bị đóng băng"
  • "Fix a connection switch" → "Sửa chuyển đổi kết nối"
  • "Populate a chain of select boxes" → "Điền vào chuỗi select box"

Copy link

vercel bot commented Jun 17, 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 17, 2025 0:40am

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! 🙌

@KotonoSora KotonoSora marked this pull request as ready for review June 17, 2025 00:47
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