We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dca54c commit c3ec5dbCopy full SHA for c3ec5db
src/content/learn/passing-props-to-a-component.md
@@ -414,7 +414,7 @@ export default function App() {
414
415
然而,props 是 [不可变的](https://en.wikipedia.org/wiki/Immutable_object)(一个计算机科学术语,意思是“不可改变”)。当一个组件需要改变它的 props(例如,响应用户交互或新数据)时,它不得不“请求”它的父组件传递 **不同的 props** —— 一个新对象!它的旧 props 将被丢弃,最终 JavaScript 引擎将回收它们占用的内存。
416
417
-**不要尝试“更改 props”。** 当你需要响应用户输入(例如更改所选颜色)时,你可以“设置 state”,你可以在 [State: 一个组件的内存](/learn/state-a-components-memory) 中继续了解。
+**不要尝试“更改 props”。** 当你需要响应用户输入(例如更改所选颜色)时,你可以“设置 state”,你可以在 [State:组件的记忆](/learn/state-a-components-memory) 中继续了解。
418
419
<Recap>
420
0 commit comments