Skip to content

Commit a354e79

Browse files
committed
feat(i18n): translate src/content/learn/describing-the-ui.md from English to Vietnamese
1 parent 34bd069 commit a354e79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/learn/describing-the-ui.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ img { margin: 0 10px 10px 0; }
119119

120120
## Viết markup với JSX {/*writing-markup-with-jsx*/}
121121

122-
Mỗi React component là một JavaScript function có thể chứa một số markup mà React render vào trình duyệt. React component sử dụng phần mở rộng cú pháp được gọi là JSX để biểu diễn markup đó. JSX trông rất giống HTML, nhưng nó nghiêm ngặt hơn một chút và có thể hiển thị thông tin động.
122+
Mỗi React component là một JavaScript function có thể chứa một số markup mà React render vào trình duyệt. React component sử dụng phần mở rộng cú pháp được gọi là JSX để hiện thị markup đó. JSX trông rất giống HTML, nhưng nó nghiêm ngặt hơn một chút và có thể hiển thị thông tin một cách linh động.
123123

124124
Nếu chúng ta dán markup HTML hiện có vào một React component, nó sẽ không phải lúc nào cũng hoạt động:
125125

@@ -528,7 +528,7 @@ export default function TeaSet() {
528528

529529
React sử dụng cây để mô hình hóa các mối quan hệ giữa component và module.
530530

531-
Một React render tree là sự biểu diễn của mối quan hệ cha và con giữa các component.
531+
Một React render tree là sự hiển thị của mối quan hệ cha và con giữa các component.
532532

533533
<Diagram name="generic_render_tree" height={250} width={500} alt="A tree graph with five nodes, with each node representing a component. The root node is located at the top the tree graph and is labelled 'Root Component'. It has two arrows extending down to two nodes labelled 'Component A' and 'Component C'. Each of the arrows is labelled with 'renders'. 'Component A' has a single 'renders' arrow to a node labelled 'Component B'. 'Component C' has a single 'renders' arrow to a node labelled 'Component D'.">
534534

0 commit comments

Comments
 (0)