You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/platform-includes/performance/enable-automatic-instrumentation/javascript.react.mdx
+3-4
Original file line number
Diff line number
Diff line change
@@ -3,19 +3,18 @@ To enable tracing, include the `BrowserTracing` integration in your SDK configur
3
3
To use `react-router` integration, import and set a custom routing instrumentation using a custom history. Make sure you use a `Router` component combined with `createBrowserHistory` (or equivalent).
4
4
5
5
```javascript
6
-
import { Router } from'react-router-dom';
7
-
import { createBrowserHistory } from'history';
6
+
import { Router } from"react-router-dom";
7
+
import { createBrowserHistory } from"history";
8
8
9
9
import*asSentryfrom"@sentry/react";
10
-
import { BrowserTracing } from"@sentry/tracing"; // Must import after @sentry/react
0 commit comments