Skip to content

Commit 6d5c874

Browse files
authored
feat(platform): Add onRouterTransitionStart (#14091)
Adds the future-proof way of instrumenting client-side navigations by using `onRouterTransitionStart`
1 parent 5ca79b6 commit 6d5c874

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/instrumentation-client.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,5 @@ if (process.env.NODE_ENV === 'development') {
3838
showClearEventsButton: true,
3939
});
4040
}
41+
42+
export const onRouterTransitionStart = Sentry.captureRouterTransitionStart;

0 commit comments

Comments
 (0)