Skip to content

Commit

Permalink
Update architecture-glossary.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnylqm authored Sep 18, 2024
1 parent 9e2c10e commit 7173ceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cnwebsite/architecture/architecture-glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ React 影子树是通过 Fabric 渲染器创建的,树由一系列 React 影

## Yoga 树(以及 Yoga 节点)

The _Yoga Tree_ is used by [Yoga](https://yogalayout.com/) to calculate layout information for a React Shadow Tree. Each React Shadow Node typically creates a _Yoga Node_ because React Native employs Yoga to calculate layout. However, this is not a hard requirement. Fabric can also create React Shadow Nodes that do not use Yoga; the implementation of each React Shadow Node determines how to calculate layout.
_Yoga _[Yoga](https://yogalayout.com/) 使用来计算 React 影子树的布局信息。每个 React 影子节点通常创建一个 _Yoga 节点_,因为 React Native 使用 Yoga 来计算布局。然而,这不是硬性要求。Fabric 也可以创建不使用 Yoga 的 React 影子节点;每个 React 影子节点的实现决定了如何计算布局。

0 comments on commit 7173ceb

Please sign in to comment.