Skip to content

6.7.0

Latest
Compare
Choose a tag to compare
@getsentry-bot getsentry-bot released this 11 Feb 09:36

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