Skip to content

Commit 794d548

Browse files
AbhiPrasadlforst
authored andcommitted
Fix span ops in React Profiler (#5608)
1 parent 157aed1 commit 794d548

File tree

1 file changed

+2
-2
lines changed
  • src/platforms/javascript/guides/react/components

1 file changed

+2
-2
lines changed

src/platforms/javascript/guides/react/components/profiler.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The React Profiler currently generates spans with three different kinds of op-co
4242

4343
<Alert>
4444

45-
In [React Strict Mode](https://reactjs.org/docs/strict-mode.html), certain component methods will be [invoked twice](https://reactjs.org/docs/strict-mode.html#detecting-unexpected-side-effects). This may lead to duplicate `react.mount` spans appearing in a transaction. React Strict Mode only runs in development mode, so this will have no impact on your production traces.
45+
In [React Strict Mode](https://reactjs.org/docs/strict-mode.html), certain component methods will be [invoked twice](https://reactjs.org/docs/strict-mode.html#detecting-unexpected-side-effects). This may lead to duplicate `ui.react.mount` spans appearing in a transaction. React Strict Mode only runs in development mode, so this will have no impact on your production traces.
4646

4747
</Alert>
4848

@@ -60,7 +60,7 @@ export default Sentry.withProfiler(App, { name: "CustomAppName" });
6060

6161
`includeRender` (boolean)
6262

63-
: If a `react.render` span should be created by the Profiler. Set as true by default.
63+
: If a `ui.react.render` span should be created by the Profiler. Set as true by default.
6464

6565
`includeUpdates` (boolean)
6666

0 commit comments

Comments
 (0)