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
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,11 +20,33 @@
20
20
<FeedbackForm/>
21
21
```
22
22
23
+
- Add `ignoredComponents` option to `annotateReactComponents` to exclude specific components from React component annotations ([#4517](https://github.com/getsentry/sentry-react-native/pull/4517))
24
+
25
+
```js
26
+
// metro.config.js
27
+
// for React Native
28
+
constconfig=withSentryConfig(mergedConfig, {
29
+
annotateReactComponents: {
30
+
ignoredComponents: ['MyCustomComponent']
31
+
}
32
+
});
33
+
34
+
// for Expo
35
+
constconfig=getSentryExpoConfig(__dirname, {
36
+
annotateReactComponents: {
37
+
ignoredComponents: ['MyCustomComponent'],
38
+
},
39
+
});
40
+
```
41
+
23
42
### Dependencies
24
43
25
44
- Bump JavaScript SDK from v8.53.0 to v8.54.0 ([#4503](https://github.com/getsentry/sentry-react-native/pull/4503))
0 commit comments