Skip to content

Commit 5da67cb

Browse files
authored
Rename ReactNavigationV5Instrumentation to ReactNavigationInstrumentation (#4255)
1 parent ce3fa46 commit 5da67cb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/includes/getting-started-primer/react-native.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Features:
1212
- [Autolinking](https://reactnative.dev/blog/2019/07/03/version-60#native-modules-are-now-autolinked)
1313
- [Breadcrumbs](/platforms/react-native/enriching-events/breadcrumbs/) created for outgoing `http` request with XHR and Fetch; UI and system events; and console logs
1414
- [Release Health](/product/releases/health/) tracks crash free users and sessions
15-
- [Performance Monitoring](/product/performance/) creates transactions automatically for React Navigation v4 and v5; creates spans automatically for XHR and Fetch
15+
- [Performance Monitoring](/product/performance/) creates transactions automatically for React Navigation v4 and above; creates spans automatically for XHR and Fetch
1616
- Under the hood the SDK relies on our [JavaScript SDK](/platforms/javascript/), which makes all functions available for JavaScript also available in this SDK
1717
- On Device symbolication for JavaScript (in Debug)
1818
- [RAM bundle support](/platforms/react-native/manual-setup/ram-bundles/)

src/platforms/react-native/migration.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ if (Platform.OS === "android") {
5050

5151
## React Navigation Instrumentation from <2.3.0
5252

53-
We changed the initialization method for the React Navigation V5 routing instrumentation to avoid a potential issue when using linking. You now register the navigation container inside the `onReady` prop passed to the `NavigationContainer`.
53+
We changed the initialization method for the React Navigation v5 and above routing instrumentation to avoid a potential issue when using linking. You now register the navigation container inside the `onReady` prop passed to the `NavigationContainer`.
5454

5555
From:
5656

src/platforms/react-native/performance/instrumentation/automatic-instrumentation.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ class App extends React.Component {
103103
You can configure the instrumentation by passing an options object to the constructor:
104104

105105
```javascript
106-
new Sentry.ReactNavigationV5Instrumentation({ ... });
106+
new Sentry.ReactNavigationInstrumentation({ ... });
107107
```
108108

109109
###### routeChangeTimeoutMs

0 commit comments

Comments
 (0)