github getsentry/sentry-react-native 6.7.0

one day ago

Features

  • Add ignoredComponents option to annotateReactComponents to exclude specific components from React component annotations (#4517)

    // metro.config.js
    // for React Native
    const config = withSentryConfig(mergedConfig, {
      annotateReactComponents: {
        ignoredComponents: ['MyCustomComponent']
      }
    });
    
    // for Expo
    const config = getSentryExpoConfig(__dirname, {
      annotateReactComponents: {
        ignoredComponents: ['MyCustomComponent'],
      },
    });

Dependencies

Don't miss a new sentry-react-native release

NewReleases is sending notifications on new releases.