From a55ce5e45cf4457ee95961982a81bc16e279ec39 Mon Sep 17 00:00:00 2001 From: Qing Chen <149983344+chenqing0106@users.noreply.github.com> Date: Sat, 14 Nov 2026 13:57:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=E3=80=8C=E5=B1=95?= =?UTF-8?q?=E5=BC=80=E8=AF=AD=E6=B3=95=E3=80=8D=E6=8F=90=E7=A4=BA=E7=9A=84?= =?UTF-8?q?=E7=BF=BB=E8=AF=91=E6=AD=A7=E4=B9=89=EF=BC=88every=20other=20co?= =?UTF-8?q?mponent=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 原文为 "If you're using it in every other component, something is wrong." 其中 "every other component" 是英语惯用语,意为"每隔一个组件(就用一次)",形容使用频率很高,并非指"所有其他组件"。原译文「如果你在所有其他组件中都使用它」容易引起歧义,故修正为「如果你在项目里到处使用它」。 --- src/content/learn/passing-props-to-a-component.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/learn/passing-props-to-a-component.md b/src/content/learn/passing-props-to-a-component.md index 16509d07ab..718941ee24 100644 --- a/src/content/learn/passing-props-to-a-component.md +++ b/src/content/learn/passing-props-to-a-component.md @@ -254,7 +254,7 @@ function Profile(props) { 这会将 `Profile` 的所有 props 转发到 `Avatar`,而不列出每个名字。 -**请克制地使用展开语法。** 如果你在所有其他组件中都使用它,那就有问题了。 通常,它表示你应该拆分组件,并将子组件作为 JSX 传递。 接下来会详细介绍! +**请克制地使用展开语法。** 如果你在项目里到处使用它,那就有问题了。通常,它表示你应该拆分组件,并将子组件作为 JSX 传递。 接下来会详细介绍! ## 将 JSX 作为子组件传递 {/*passing-jsx-as-children*/}