diff --git a/src/content/learn/manipulating-the-dom-with-refs.md b/src/content/learn/manipulating-the-dom-with-refs.md
index 2053f936b..98cef2cea 100644
--- a/src/content/learn/manipulating-the-dom-with-refs.md
+++ b/src/content/learn/manipulating-the-dom-with-refs.md
@@ -1,52 +1,52 @@
---
-title: 'Manipulating the DOM with Refs'
+title: 'Thao tác DOM với Refs'
---
-React automatically updates the [DOM](https://developer.mozilla.org/docs/Web/API/Document_Object_Model/Introduction) to match your render output, so your components won't often need to manipulate it. However, sometimes you might need access to the DOM elements managed by React--for example, to focus a node, scroll to it, or measure its size and position. There is no built-in way to do those things in React, so you will need a *ref* to the DOM node.
+React tự động cập nhật [DOM](https://developer.mozilla.org/docs/Web/API/Document_Object_Model/Introduction) để khớp với kết quả render của bạn, vì vậy những component của bạn thường sẽ không cần thao tác với nó. Tuy nhiên, đôi khi bạn có thể cần truy cập vào những element DOM được quản lý bởi React--ví dụ, để focus vào một node, scroll đến nó, hoặc đo kích thước và vị trí của nó. Không có cách nào được tích hợp sẵn để làm những việc đó trong React, vì vậy bạn sẽ cần một *ref* đến DOM node.
-- How to access a DOM node managed by React with the `ref` attribute
-- How the `ref` JSX attribute relates to the `useRef` Hook
-- How to access another component's DOM node
-- In which cases it's safe to modify the DOM managed by React
+- Cách truy cập một DOM node được quản lý bởi React với thuộc tính `ref`
+- Cách thuộc tính `ref` JSX liên quan đến Hook `useRef`
+- Cách truy cập DOM node của component khác
+- Trong những trường hợp nào thì việc sửa đổi DOM được quản lý bởi React là an toàn
-## Getting a ref to the node {/*getting-a-ref-to-the-node*/}
+## Lấy ref đến node {/*getting-a-ref-to-the-node*/}
-To access a DOM node managed by React, first, import the `useRef` Hook:
+Để truy cập một DOM node được quản lý bởi React, trước tiên, import Hook `useRef`:
```js
import { useRef } from 'react';
```
-Then, use it to declare a ref inside your component:
+Sau đó, sử dụng nó để khai báo một ref bên trong component của bạn:
```js
const myRef = useRef(null);
```
-Finally, pass your ref as the `ref` attribute to the JSX tag for which you want to get the DOM node:
+Cuối cùng, truyền ref của bạn làm thuộc tính `ref` cho JSX tag mà bạn muốn lấy DOM node:
```js
```
-The `useRef` Hook returns an object with a single property called `current`. Initially, `myRef.current` will be `null`. When React creates a DOM node for this `
`, React will put a reference to this node into `myRef.current`. You can then access this DOM node from your [event handlers](/learn/responding-to-events) and use the built-in [browser APIs](https://developer.mozilla.org/docs/Web/API/Element) defined on it.
+Hook `useRef` trả về một object với một thuộc tính duy nhất gọi là `current`. Ban đầu, `myRef.current` sẽ là `null`. Khi React tạo một DOM node cho `
` này, React sẽ đặt một tham chiếu đến node này vào `myRef.current`. Sau đó bạn có thể truy cập DOM node này từ [event handlers](/learn/responding-to-events) của bạn và sử dụng các [browser APIs](https://developer.mozilla.org/docs/Web/API/Element) tích hợp sẵn được định nghĩa trên nó.
```js
-// You can use any browser APIs, for example:
+// Bạn có thể sử dụng bất kỳ browser APIs nào, ví dụ:
myRef.current.scrollIntoView();
```
-### Example: Focusing a text input {/*example-focusing-a-text-input*/}
+### Ví dụ: Focus vào text input {/*example-focusing-a-text-input*/}
-In this example, clicking the button will focus the input:
+Trong ví dụ này, việc click vào button sẽ focus vào input:
@@ -73,18 +73,18 @@ export default function Form() {
-To implement this:
+Để triển khai điều này:
-1. Declare `inputRef` with the `useRef` Hook.
-2. Pass it as ``. This tells React to **put this ``'s DOM node into `inputRef.current`.**
-3. In the `handleClick` function, read the input DOM node from `inputRef.current` and call [`focus()`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus) on it with `inputRef.current.focus()`.
-4. Pass the `handleClick` event handler to `