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 e193d1e commit 273ab85Copy full SHA for 273ab85
1 file changed
src/content/reference/react/StrictMode.md
@@ -841,7 +841,7 @@ button { margin-left: 10px; }
841
842
当开启严格模式时,React 还会在开发模式下为每个回调 `ref` **额外运行一次 setup+cleanup 循环**。这可能会让人感到惊讶,但它有助于发现手动难以捕捉到的细微错误。
843
844
-参考以下示例,它允许你选择一种动物然后滚动到其中之一。注意,当你从 "Cats" 切换到 "Dogs" 时,控制台日志显示列表中的动物数量持续增长,而「滚动到」按钮停止工作:
+参考以下示例,它允许你选择一种动物然后滚动到其中之一。注意,当你从 "Neo" 切换到 "Millie" 时,控制台日志显示列表中的动物数量持续增长,而「滚动到」按钮停止工作:
845
846
<Sandpack>
847
0 commit comments