Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
184
function
getCurrentRoute(): string | undefined {
185
try {
186
return
getCurrentReactNativeTracingIntegration()?.state.currentRoute;
187
} catch {
188
return
undefined;
189
}
190
}
Callers
1
check
Method · 0.85
Calls
1
getCurrentReactNativeTracingIntegration
Function · 0.90
Tested by
no test coverage detected