Skip to content

feat(i18n): src/content/learn/referencing-values-with-refs.md from English to Vietnamese #485

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: Referencing Values with Refs

Hi! I'm contributing as a volunteer translator for vi.react.dev, and this PR adds the Vietnamese translation for the "Referencing Values with Refs" lesson.

What's included

  • Vietnamese translation of referencing-values-with-refs.md
  • Preserved all code examples and markdown formatting
  • Kept terminology consistent with existing translations

Changes

  • ✅ Fully translated the guide covering how to use refs to reference values that don't trigger re-renders, including practical examples like building a stopwatch
  • ✅ 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:
"Referencing Values with Refs" → "Tham chiếu giá trị với ref"

Các phần chính:

  • "Adding a ref to your component" → "Thêm ref vào component của bạn"
  • "Example: building a stopwatch" → "Ví dụ: xây dựng đồng hồ bấm giờ"
  • "Differences between refs and state" → "Sự khác biệt giữa ref và state"
  • "When to use refs" → "Khi nào nên dùng ref"
  • "Best practices for refs" → "Best practices cho ref"
  • "Refs and the DOM" → "Ref và DOM"

Phần Challenges:

  • "Fix a broken chat input" → "Sửa input chat bị lỗi"
  • "Fix a component failing to re-render" → "Sửa component không re-render"
  • "Fix debouncing" → "Sửa debounce"
  • "Read the latest state" → "Đọc state mới nhất"

Copy link

vercel bot commented Jun 13, 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 13, 2025 9:49pm

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