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
- Add `ignoredComponents` option to `annotateReactComponents` to exclude specific components from React component annotations ([#4517](https://github.com/getsentry/sentry-react-native/pull/4517))
22
+
23
+
```js
24
+
// metro.config.js
25
+
// for React Native
26
+
constconfig=withSentryConfig(mergedConfig, {
27
+
annotateReactComponents: {
28
+
ignoredComponents: ['MyCustomComponent']
29
+
}
30
+
});
31
+
32
+
// for Expo
33
+
constconfig=getSentryExpoConfig(__dirname, {
34
+
annotateReactComponents: {
35
+
ignoredComponents: ['MyCustomComponent'],
36
+
},
37
+
});
38
+
```
39
+
40
+
### Dependencies
41
+
42
+
- Bump JavaScript SDK from v8.53.0 to v8.54.0 ([#4503](https://github.com/getsentry/sentry-react-native/pull/4503))
0 commit comments