Skip to content

Commit 651ab3d

Browse files
authored
docs: fix some translate in Profiler.md (#1850)
2 parents 46a964a + 057f573 commit 651ab3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/reference/react/Profiler.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ function onRender(id, phase, actualDuration, baseDuration, startTime, commitTime
8989

9090
`<Profiler>` 允许你编程式收集性能测量数据。如果你正在寻找一个交互式的性能分析工具,可以尝试使用 [React 开发者工具](/learn/react-developer-tools) 中的 Profiler 标签页。它提供了类似浏览器扩展程序的功能。
9191

92-
Components wrapped in `<Profiler>` will also be marked in the [Component tracks](/reference/dev-tools/react-performance-tracks#components) of React Performance tracks even in profiling builds.
93-
In development builds, all components are marked in the Components track regardless of whether they're wrapped in `<Profiler>`.
92+
即使在分析构建中,也会在 React Performance 跟踪的 [Component tracks](/reference/dev-tools/react-performance-tracks#components) 中标记 `<Profiler>` 封装的组件。
93+
在开发构建中,所有组件都会标记在组件跟踪中,而不管它们是否用 `<Profiler>` 封装。
9494

9595
</Note>
9696

0 commit comments

Comments
 (0)