Summary
The React Native SDK has supported graphqlIntegration() since v7.5.0, but there is no corresponding documentation page under docs.sentry.io/platforms/react-native/. The integration is undocumented for this platform, creating a gap for developers who need to capture GraphQL requests in React Native apps.
Background
graphqlIntegration was added to sentry-react-native in v7.5.0 via PR #5299 and is listed in the official changelog.
- The underlying integration is shared from
@sentry/javascript and already documented for other JS platforms (e.g. React Router has a GraphQL page).
docs.sentry.io/platforms/react-native/integrations/graphql/ currently 404s — no page exists for this integration.
Scope
- Add a GraphQL integration docs page under
platforms/react-native/ mirroring the structure of existing JS platform GraphQL pages.
- Document how to configure
graphqlIntegration() in a React Native app:
import * as Sentry from '@sentry/react-native';
Sentry.init({
integrations: [Sentry.graphqlIntegration()],
});
- Note any React Native-specific considerations (e.g. supported transports, HTTP client compatibility).
Implementation
- Review the existing GraphQL docs page for another JS platform (e.g. React Router) as a reference.
- Create
docs/platforms/react-native/integrations/graphql.mdx (or equivalent path) with the appropriate frontmatter and content.
- Verify the new page appears in the React Native integrations nav.
Action taken on behalf of Chris Stavitsky.
Summary
The React Native SDK has supported
graphqlIntegration()since v7.5.0, but there is no corresponding documentation page underdocs.sentry.io/platforms/react-native/. The integration is undocumented for this platform, creating a gap for developers who need to capture GraphQL requests in React Native apps.Background
graphqlIntegrationwas added tosentry-react-nativein v7.5.0 via PR #5299 and is listed in the official changelog.@sentry/javascriptand already documented for other JS platforms (e.g. React Router has a GraphQL page).docs.sentry.io/platforms/react-native/integrations/graphql/currently 404s — no page exists for this integration.Scope
platforms/react-native/mirroring the structure of existing JS platform GraphQL pages.graphqlIntegration()in a React Native app:Implementation
docs/platforms/react-native/integrations/graphql.mdx(or equivalent path) with the appropriate frontmatter and content.Action taken on behalf of Chris Stavitsky.