MCPcopy Create free account
hub / github.com/getsentry/sentry-react-native / getCurrentRoute

Function getCurrentRoute

packages/core/src/js/ragetap.ts:184–190  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

182}
183
184function getCurrentRoute(): string | undefined {
185 try {
186 return getCurrentReactNativeTracingIntegration()?.state.currentRoute;
187 } catch {
188 return undefined;
189 }
190}

Callers 1

checkMethod · 0.85

Tested by

no test coverage detected