Skip to content

feat(react-native): Document includeWebReplay and includeFeedback Metro options#17423

Open
antonis wants to merge 2 commits intomasterfrom
antonis/rn-metro-include-feedback-docs
Open

feat(react-native): Document includeWebReplay and includeFeedback Metro options#17423
antonis wants to merge 2 commits intomasterfrom
antonis/rn-metro-include-feedback-docs

Conversation

@antonis
Copy link
Copy Markdown
Contributor

@antonis antonis commented Apr 21, 2026

DESCRIBE YOUR PR

Adds a new "Reduce Bundle Size" section to the React Native Metro page describing how to exclude the web Session Replay and User Feedback packages from the bundle for users who don't need them.

Covers two Metro Plugin options:

Note: there's a `TODO` in the doc pinning the exact SDK version for `includeFeedback` — will update before merge once the SDK release is cut.

IS YOUR CHANGE URGENT?

  • Urgent deadline (GA date, etc.):
  • Other deadline:
  • None: Not urgent, can wait up to 1 week+

This PR should be merged alongside (or shortly after) the SDK release that ships `includeFeedback`.

SLA

  • Teamwork makes the dream work, so please add a reviewer to your PRs.
  • Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it.
    Thanks in advance for your help!

PRE-MERGE CHECKLIST

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team
  • SDK version for `includeFeedback` confirmed in the Alert callout

EXTRA RESOURCES

…ro options

Adds a "Reduce Bundle Size" section to the React Native Metro page
describing how to exclude the web Session Replay and User Feedback
packages from the bundle for users who don't need them.

includeFeedback is new in the upcoming Sentry React Native SDK release
(getsentry/sentry-react-native#6025). includeWebReplay has existed for
a while but was previously undocumented.
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sentry-docs Ready Ready Preview, Comment Apr 21, 2026 0:44am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Preview Apr 21, 2026 0:44am

Request Review

@codeowner-assignment codeowner-assignment bot requested a review from a team April 21, 2026 12:32
Comment thread docs/platforms/react-native/manual-setup/metro.mdx Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a Metro config flag (similar to includeWebReplay) to remove @sentry-internal/feedback from the bundle

1 participant