Skip to content

Commit 40617b1

Browse files
authored
docs(cn): improve learn/passing-data-deeply-with-context translation (#1857)
2 parents cbf4c7e + f59ce6c commit 40617b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/learn/passing-data-deeply-with-context.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ translators:
2424

2525
[传递 props](/learn/passing-props-to-a-component) 是将数据通过 UI 树显式传递到使用它的组件的好方法。
2626

27-
但是当你需要在组件树中深层传递参数以及需要在组件间复用相同的参数时,传递 props 就会变得很麻烦。最近的根节点父组件可能离需要数据的组件很远[状态提升](/learn/sharing-state-between-components) 到太高的层级会导致 “逐层传递 props” 的情况。
27+
但是当你需要在组件树中深层传递参数以及需要在组件间复用相同的参数时,传递 props 就会变得很麻烦。最近的共同祖先组件可能离需要数据的组件很远[状态提升](/learn/sharing-state-between-components) 到太高的层级会导致 “逐层传递 props” 的情况。
2828

2929
<DiagramGroup>
3030

0 commit comments

Comments
 (0)