vi.react.dev
vi.react.dev copied to clipboard
feat(i18n): translate src/content/learn/passing-data-deeply-with-context.md from English to Vietnamese
🇻🇳 Vietnamese Translation: Passing Data Deeply with Context
Hi! I'm contributing as a volunteer translator for vi.react.dev, and this PR adds the Vietnamese translation for the "Passing Data Deeply with Context" lesson.
What's included
- Vietnamese translation of passing-data-deeply-with-context.md
- Preserved all code examples and markdown formatting
- Kept terminology consistent with existing translations
Changes
- ✅ Fully translated the comprehensive guide covering React Context API
- ✅ 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:
- "Passing Data Deeply with Context" → "Truyền Dữ Liệu Sâu Với Context"
Các phần chính:
- "The problem with passing props" → "Vấn đề với việc truyền props"
- "Context: an alternative to passing props" → "Context: một phương án thay thế cho việc truyền props"
- "Step 1: Create the context" → "Bước 1: Tạo context"
- "Step 2: Use the context" → "Bước 2: Sử dụng context"
- "Step 3: Provide the context" → "Bước 3: Cung cấp context"
- "Using and providing context from the same component" → "Sử dụng và cung cấp context từ cùng một component"
- "Context passes through intermediate components" → "Context truyền qua các component trung gian"
- "Before you use context" → "Trước khi bạn sử dụng context"
- "Use cases for context" → "Các trường hợp sử dụng cho context"
Phần Challenges:
- "Replace prop drilling with context" → "Thay thế prop drilling bằng context"