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: CHANGELOG.md
+21
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,27 @@
8
8
9
9
## Unreleased
10
10
11
+
### Features
12
+
13
+
- Add `ignoredComponents` option to `annotateReactComponents` to exclude specific components from React component annotations ([#4517](https://github.com/getsentry/sentry-react-native/pull/4517))
14
+
15
+
```js
16
+
// metro.config.js
17
+
// for React Native
18
+
constconfig=withSentryConfig(mergedConfig, {
19
+
annotateReactComponents: {
20
+
ignoredComponents: ['MyCustomComponent']
21
+
}
22
+
});
23
+
24
+
// for Expo
25
+
constconfig=getSentryExpoConfig(__dirname, {
26
+
annotateReactComponents: {
27
+
ignoredComponents: ['MyCustomComponent'],
28
+
},
29
+
});
30
+
```
31
+
11
32
### Dependencies
12
33
13
34
- Bump JavaScript SDK from v8.53.0 to v8.54.0 ([#4503](https://github.com/getsentry/sentry-react-native/pull/4503))
0 commit comments