diff --git a/src/content/reference/react/Profiler.md b/src/content/reference/react/Profiler.md index f4a2d023f2..f6935f14ef 100644 --- a/src/content/reference/react/Profiler.md +++ b/src/content/reference/react/Profiler.md @@ -89,8 +89,8 @@ function onRender(id, phase, actualDuration, baseDuration, startTime, commitTime `` 允许你编程式收集性能测量数据。如果你正在寻找一个交互式的性能分析工具,可以尝试使用 [React 开发者工具](/learn/react-developer-tools) 中的 Profiler 标签页。它提供了类似浏览器扩展程序的功能。 -Components wrapped in `` will also be marked in the [Component tracks](/reference/dev-tools/react-performance-tracks#components) of React Performance tracks even in profiling builds. -In development builds, all components are marked in the Components track regardless of whether they're wrapped in ``. +即使在剖析构建中,也会在 React Performance 跟踪的 [Component tracks](/reference/dev-tools/react-performance-tracks#components) 中标记 `` 封装的组件。 +在开发构建中,所有组件都会标记在组件跟踪中,而不管它们是否用 `` 封装。