Skip to content

docs(js): Use createSentryHandleError in the React Router Cloudflare setup - #20873

Merged
JPeer264 merged 1 commit into
masterfrom
jp/react-router-cloudflare-handle-error
Nov 18, 2026
Merged

JPeer264 merged 1 commit into
masterfrom
jp/react-router-cloudflare-handle-error

Conversation

@JPeer264

Copy link
Copy Markdown
Member

DESCRIBE YOUR PR

follow up to #20724

This changes the handleError of the React Router Cloudflare setup to Sentry.createSentryHandleError(), like the Node setup. @sentry/react-router/cloudflare exports it since 11.13.0 (getsentry/sentry-javascript#26343), so the minimum SDK version on the page is now 11.13.0.

For apps on versions 11.8.0 to 11.12.x, the troubleshooting list at the end of the page keeps the old handleError. Versions before 11.8.0 were never supported by this page, because sentryCloudflareVitePlugin and sentryReactRouter only work together since getsentry/sentry-javascript#25043.

IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs to go live.
Select exactly one option. For deadlines, replace YYYY-MM-DD with the due date. You can update this information later by editing the PR description.

  • Urgent deadline (GA date, etc.): YYYY-MM-DD
  • Other deadline: YYYY-MM-DD
  • No deadline: Not urgent, can wait up to 1 week+

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 supplied a deadline.

Thanks in advance for your help!

PRE-MERGE CHECKLIST

Make sure you've checked the following before merging your changes:

  • 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

LEGAL BOILERPLATE

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

EXTRA RESOURCES

…setup

@sentry/react-router/cloudflare exports createSentryHandleError since
11.13.0, so the Cloudflare page uses it like the Node setup. The
troubleshooting list keeps the old handleError for versions 11.8.0 to
11.12.x.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
sentry-docs Ready Ready Preview Nov 18, 2026 10:28am UTC
1 Skipped Deployment
Project Deployment Actions Updated
develop-docs Ignored Ignored Nov 18, 2026 10:28am UTC

Request Review

@github-actions github-actions Bot added the Priority: Normal Docs review has no urgent deadline label Nov 18, 2026
@JPeer264 JPeer264 self-assigned this Nov 18, 2026
@JPeer264
JPeer264 marked this pull request as ready for review November 18, 2026 10:30
@cursor

cursor Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Getting ready to monitor this change · Rollout details

Status Service Environment
⏳ Getting ready to monitor this change

@JPeer264
JPeer264 merged commit fcd56de into master Nov 18, 2026
27 checks passed
@JPeer264
JPeer264 deleted the jp/react-router-cloudflare-handle-error branch November 18, 2026 10:40

This branch was successfully deployed

1 active deployment
Preview – sentry-docs — 34503eec Deployed Nov 18, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority: Normal Docs review has no urgent deadline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants