Skip to content

Commit 420569c

Browse files
committed
resolve conflicts
1 parent 3283cae commit 420569c

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

content/docs/code-splitting.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,7 @@ console.log(add(16, 26)); // 42
4242
4343
Nếu bạn đang sử dụng [Create React App](https://create-react-app.dev/), [Next.js](https://nextjs.org/), [Gatsby](https://www.gatsbyjs.org/), hay một công cụ tương tự, bạn sẽ được thiết lập sẵn webpack để đóng gói ứng dụng của mình.
4444

45-
<<<<<<< HEAD
4645
Nếu không, bạn sẽ cần phải tự thiết lập. Ví dụ, tham khảo [Cách cài đặt](https://webpack.js.org/guides/installation/)[Làm thê nào để bắt đầu sử dụng](https://webpack.js.org/guides/getting-started/) hướng dẫn ở tài liệu Webpack.
47-
=======
48-
If you aren't, you'll need to set up bundling yourself. For example, see the [Installation](https://webpack.js.org/guides/installation/) and [Getting Started](https://webpack.js.org/guides/getting-started/) guides on the Webpack docs.
49-
>>>>>>> e60bca04f3da690256ce019bd8907c2b368589ee
5046

5147
## Phân chia Code {#code-splitting}
5248

content/docs/testing-recipes.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -395,11 +395,7 @@ it("changes value when clicked", () => {
395395
render(<Toggle onChange={onChange} />, container);
396396
});
397397
398-
<<<<<<< HEAD
399398
// lấy toàn bộ các element, và trigger một vài sự kiện click
400-
=======
401-
// get a hold of the button element, and trigger some clicks on it
402-
>>>>>>> e60bca04f3da690256ce019bd8907c2b368589ee
403399
const button = document.querySelector("[data-testid=toggle]");
404400
expect(button.innerHTML).toBe("Turn on");
405401

content/tutorial/tutorial.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -524,11 +524,7 @@ Chú ý rằng trong hàm `handleClick`, chúng ta sử dụng `.slice()` để
524524

525525
### Tại sao tính bất biến là quan trọng {#why-immutability-is-important}
526526

527-
<<<<<<< HEAD
528527
Trong phần code ví dụ trước, ta đã sử dụng hàm `.slice()` để tạo ra bản sao của mảng `squares` thay vì sửa trực tiếp nó. Giờ ta sẽ thảo luận về tính bất biến và vì sao tính bất biến lại quan trọng.
529-
=======
530-
In the previous code example, we suggested that you use the `.slice()` method to create a copy of the `squares` array to copy instead of modifying the existing array. We'll now discuss immutability and why immutability is important to learn.
531-
>>>>>>> e60bca04f3da690256ce019bd8907c2b368589ee
532528

533529
Thông thường, ta có 2 hướng tiếp cận đối với việc thay đổi dữ liệu. Hướng tiếp cận đầu tiên đó là *thay đổi (mutate)* trực tiếp giá trị của dữ liệu. Hướng tiếp cận thứ hai đó là thay dữ liệu hiện có bằng một bản sao của nó và sửa đổi trên bản sao đó.
534530

0 commit comments

Comments
 (0)