René's URL Explorer Experiment


Title: feat(react-router): Export `sentryOnError` by chargome · Pull Request #20120 · getsentry/sentry-javascript · GitHub

Open Graph Title: feat(react-router): Export `sentryOnError` by chargome · Pull Request #20120 · getsentry/sentry-javascript

X Title: feat(react-router): Export `sentryOnError` by chargome · Pull Request #20120 · getsentry/sentry-javascript

Description: Official Sentry SDKs for JavaScript. Contribute to getsentry/sentry-javascript development by creating an account on GitHub.

Open Graph Description: Adds a sentryOnError helper to the client bundle for leveraging React Router's onError hook on HydratedRouter Migrates E2E test apps to the new helper closes #20115

X Description: Adds a sentryOnError helper to the client bundle for leveraging React Router's onError hook on HydratedRouter Migrates E2E test apps to the new helper closes #20115

Opengraph URL: https://github.com/getsentry/sentry-javascript/pull/20120

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:aa17415a-e858-2f00-f026-0ac82763165f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id960A:1978BF:20392C:2B89F0:6B04839C
html-safe-noncec83d99dfc13506340ebe4c83dceaf96dd5bb2dde56f6c54b66fa09465267b530
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjBBOjE5NzhCRjoyMDM5MkM6MkI4OUYwOjZCMDQ4MzlDIiwidmlzaXRvcl9pZCI6IjI0MDA1MTI0MzUzMzQ0NDgwMjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc8df2f374bf1fa2147208337bdd60b5f02cfe27d838082bfaaeb9128b3d01389
hovercard-subject-tagpull_request:3501971399
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-javascript/20120/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/beb1cee3a3c500c673db539aff674857c5789e26b12e78ce9bb3c0358356cef2/getsentry/sentry-javascript/pull/20120
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/beb1cee3a3c500c673db539aff674857c5789e26b12e78ce9bb3c0358356cef2/getsentry/sentry-javascript/pull/20120
og:image:altAdds a sentryOnError helper to the client bundle for leveraging React Router's onError hook on HydratedRouter Migrates E2E test apps to the new helper closes #20115
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamechargome
hostnamegithub.com
expected-hostnamegithub.com
None1d5c152376e38b7d2e37f3d5179be29a73bee93b85110da28a4eebe1159cdc70
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3328572
octolytics-dimension-repository_nwogetsentry/sentry-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3328572
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef5017e8ff4ea25a8011fcf0f2a0e430c60dc86c8
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/20120#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F20120
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F20120
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/pull/20120
Reloadhttps://github.com/getsentry/sentry-javascript/pull/20120
Reloadhttps://github.com/getsentry/sentry-javascript/pull/20120
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues339 (339)https://github.com/getsentry/sentry-javascript/issues
Pull requests53 (53)https://github.com/getsentry/sentry-javascript/pulls
Discussionshttps://github.com/getsentry/sentry-javascript/discussions
Actionshttps://github.com/getsentry/sentry-javascript/actions
Security and quality7 (7)https://github.com/getsentry/sentry-javascript/security
Insightshttps://github.com/getsentry/sentry-javascript/insights
https://github.com/getsentry/sentry-javascript
chargomehttps://github.com/chargome
develophttps://github.com/getsentry/sentry-javascript/tree/develop
cg/rr-onerrorhttps://github.com/getsentry/sentry-javascript/tree/cg/rr-onerror
Conversationhttps://github.com/getsentry/sentry-javascript/pull/20120
Commits4 (4)https://github.com/getsentry/sentry-javascript/pull/20120/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/20120/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/20120/files
feat(react-router): Export sentryOnErrorhttps://github.com/getsentry/sentry-javascript/pull/20120#top
chargomehttps://github.com/chargome
develophttps://github.com/getsentry/sentry-javascript/tree/develop
cg/rr-onerrorhttps://github.com/getsentry/sentry-javascript/tree/cg/rr-onerror
https://github.com/chargome
chargomehttps://github.com/chargome
Apr 8, 2026https://github.com/getsentry/sentry-javascript/pull/20120#issue-4222996571
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20120
onError hookhttps://reactrouter.com/how-to/error-reporting#framework-mode
#20115https://github.com/getsentry/sentry-javascript/issues/20115
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20120
chargomehttps://github.com/chargome
April 8, 2026 09:52https://github.com/getsentry/sentry-javascript/pull/20120#commits-pushed-1811525
https://github.com/chargome
export helperhttps://github.com/getsentry/sentry-javascript/pull/20120/commits/18115254f6501eadf3682d1880be9fe4de9c906a
1811525https://github.com/getsentry/sentry-javascript/pull/20120/commits/18115254f6501eadf3682d1880be9fe4de9c906a
https://github.com/chargome
update e2ehttps://github.com/getsentry/sentry-javascript/pull/20120/commits/c96af89d122c666833941a8c2c387a486b4ca43c
c96af89https://github.com/getsentry/sentry-javascript/pull/20120/commits/c96af89d122c666833941a8c2c387a486b4ca43c
https://github.com/chargome
chargomehttps://github.com/chargome
Apr 8, 2026https://github.com/getsentry/sentry-javascript/pull/20120#event-24286848359
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 8, 2026https://github.com/getsentry/sentry-javascript/pull/20120#issuecomment-4204708815
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20120
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20120
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 8, 2026https://github.com/getsentry/sentry-javascript/pull/20120#issuecomment-4204760040
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20120
View base workflow runhttps://github.com/getsentry/sentry-javascript/actions/runs/23794053751
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20120
https://github.com/chargome
chargomehttps://github.com/chargome
April 8, 2026 08:25https://github.com/getsentry/sentry-javascript/pull/20120#event-24287634262
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Apr 8, 2026 https://github.com/getsentry/sentry-javascript/pull/20120#pullrequestreview-4073778860
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/20120/files/c96af89d122c666833941a8c2c387a486b4ca43c
packages/react-router/src/client/sentryOnError.tshttps://github.com/getsentry/sentry-javascript/pull/20120/files/c96af89d122c666833941a8c2c387a486b4ca43c#diff-0d0c482f0df540f92c727963eb718c9f3286ad8343b2ebaa7cc31034bd13c279
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20120
https://github.com/chargome
chargomehttps://github.com/chargome
s1gr1dhttps://github.com/s1gr1d
April 8, 2026 08:58https://github.com/getsentry/sentry-javascript/pull/20120#event-24288673963
https://github.com/chargome
add mechanismhttps://github.com/getsentry/sentry-javascript/pull/20120/commits/4198f26ed1efe4d2a2aaf55b07377446dde42028
4198f26https://github.com/getsentry/sentry-javascript/pull/20120/commits/4198f26ed1efe4d2a2aaf55b07377446dde42028
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Apr 8, 2026 https://github.com/getsentry/sentry-javascript/pull/20120#pullrequestreview-4074173172
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/20120/files/4198f26ed1efe4d2a2aaf55b07377446dde42028
cursorhttps://github.com/apps/cursor
https://github.com/getsentry/sentry-javascript/pull/20120#pullrequestreview-4074173172
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://cursor.com/open?data=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImJ1Z2JvdC12MiJ9.eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9BTExfSU5fQ1VSU09SIiwiZGF0YSI6eyJyZWRpc0tleSI6ImJ1Z2JvdC1tdWx0aToyMTMyM2RjNC03MGRkLTRmOWUtOGRhMi1kZjJjMjhmMTgxNzkiLCJlbmNyeXB0aW9uS2V5IjoiQlFtck02XzZvLXJqbjNpQWpNazZMdng5VDR5ME02QVhEM3JlNVEzLXFYOCIsImJyYW5jaCI6ImNnL3JyLW9uZXJyb3IiLCJyZXBvT3duZXIiOiJnZXRzZW50cnkiLCJyZXBvTmFtZSI6InNlbnRyeS1qYXZhc2NyaXB0In0sImlhdCI6MTc3NTY0MDkzMSwiZXhwIjoxNzc4MjMyOTMxfQ.GlrWQ7Q9u-ALq0bMT70vWAf-cprah66DrYw-3h9ljsreH2dhXlqeBZkS4EGC9k0ZgnYzDPbJ0lFpVIYzS52WxqXEjjtlA79Eue2LhA7YiZDCjtsoYnyHjKL1MFzocZagE1bD1rwCkiioP7T-h5sHYMmLyz3SkrIH7HWOmIqLNoGzRMRK1dtc7_RV5CksbdJOZ1ErLtj2Im5HV6jESS6dfjTeQMu-C94DtPQWszubzTIv6eZoBuAURtvMYgggdy1Sx2npciq1x6ONobtenMHKC90KsoHPnyfJB4gwn0By3cJ8z8-mTjELreWcuJesapRnhP9bKKdJA_twXcdaVdELdw
Cursor dashboardhttps://www.cursor.com/dashboard/bugbot
Cursor Bugbothttps://cursor.com/bugbot
4198f26https://github.com/getsentry/sentry-javascript/commit/4198f26ed1efe4d2a2aaf55b07377446dde42028
herehttps://www.cursor.com/dashboard/bugbot
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20120
dev-packages/e2e-tests/test-applications/react-router-7-framework-custom/app/entry.client.tsxhttps://github.com/getsentry/sentry-javascript/pull/20120/files/4198f26ed1efe4d2a2aaf55b07377446dde42028#diff-5bd0935e5cb5df8ada9d49ce5638060fff160d548f60a372ffd6560d58cd3624
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20120
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 8, 2026https://github.com/getsentry/sentry-javascript/pull/20120#issuecomment-4205315861
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20120
View base workflow runhttps://github.com/getsentry/sentry-javascript/actions/runs/24126459967
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20120
https://github.com/chargome
testshttps://github.com/getsentry/sentry-javascript/pull/20120/commits/434cc5264327ed583a5f71a9b1b1b2ada3b0f9f6
434cc52https://github.com/getsentry/sentry-javascript/pull/20120/commits/434cc5264327ed583a5f71a9b1b1b2ada3b0f9f6
https://github.com/mydea
mydeahttps://github.com/mydea
Apr 8, 2026 https://github.com/getsentry/sentry-javascript/pull/20120#pullrequestreview-4074741091
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/20120/files/434cc5264327ed583a5f71a9b1b1b2ada3b0f9f6
https://github.com/chargome
chargomehttps://github.com/chargome
2f5596bhttps://github.com/getsentry/sentry-javascript/commit/2f5596b5aee366826c660c07d0a59fce636ee4e8
Apr 8, 2026https://github.com/getsentry/sentry-javascript/pull/20120#event-24293346731
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20120
https://github.com/chargome
chargomehttps://github.com/chargome
April 8, 2026 11:33https://github.com/getsentry/sentry-javascript/pull/20120#event-24293347651
https://github.com/chargome
chargomehttps://github.com/chargome
Apr 8, 2026 https://github.com/getsentry/sentry-javascript/pull/20120#ref-pullrequest-4224203280
docs(js): Update rr framework docs for client side errors getsentry/sentry-docs#17276 https://github.com/getsentry/sentry-docs/pull/17276
chargomehttps://github.com/chargome
Apr 8, 2026 https://github.com/getsentry/sentry-javascript/pull/20120#ref-commit-fb54490
https://github.com/chargome
docs(js): Update rr framework docs for client side errors (https://github.com/getsentry/sentry-docs/commit/fb5449060a2deea0745d7cf91fea4968df6df1c9
#17276https://github.com/getsentry/sentry-docs/pull/17276
)https://github.com/getsentry/sentry-docs/commit/fb5449060a2deea0745d7cf91fea4968df6df1c9
fb54490https://github.com/getsentry/sentry-docs/commit/fb5449060a2deea0745d7cf91fea4968df6df1c9
getsentry/sentry-javascript#20120https://github.com/getsentry/sentry-javascript/pull/20120
github-actionshttps://github.com/apps/github-actions
Apr 9, 2026 https://github.com/getsentry/sentry-javascript/pull/20120#ref-commit-e0a6754
https://github.com/apps/github-actions
https://github.com/claude
fix(skill-drift): update cocoa, php, react-native, and react skills f…https://github.com/getsentry/sentry-for-ai/commit/e0a6754a846882d487e51e0b5b9a51140dcf0f11
e0a6754https://github.com/getsentry/sentry-for-ai/commit/e0a6754a846882d487e51e0b5b9a51140dcf0f11
getsentry/sentry-cocoa#7705https://github.com/getsentry/sentry-cocoa/pull/7705
getsentry/sentry-php#2059https://github.com/getsentry/sentry-php/pull/2059
getsentry/sentry-react-native#5960https://github.com/getsentry/sentry-react-native/pull/5960
getsentry/sentry-javascript#20120https://github.com/getsentry/sentry-javascript/pull/20120
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 9, 2026 https://github.com/getsentry/sentry-javascript/pull/20120#ref-pullrequest-4230662731
[skill-drift] fix(multi-sdk): update 4 skills for recent SDK changes getsentry/sentry-for-ai#95 https://github.com/getsentry/sentry-for-ai/pull/95
https://github.com/chargome
chargomehttps://github.com/chargome
Apr 9, 2026 https://github.com/getsentry/sentry-javascript/pull/20120#ref-pullrequest-4232070040
feat(react-router): Use sentryOnError getsentry/sentry-wizard#1255 https://github.com/getsentry/sentry-wizard/pull/1255
https://github.com/apps/sentry-release-bot
sentry-release-bothttps://github.com/apps/sentry-release-bot
Apr 9, 2026 https://github.com/getsentry/sentry-javascript/pull/20120#ref-issue-4233123197
publish: getsentry/sentry-javascript@10.48.0 getsentry/publish#7755 https://github.com/getsentry/publish/issues/7755
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 9, 2026 https://github.com/getsentry/sentry-javascript/pull/20120#ref-issue-4218200837
Support error hook on React Router Framework #20115 https://github.com/getsentry/sentry-javascript/issues/20115
HazAThttps://github.com/HazAT
Apr 15, 2026 https://github.com/getsentry/sentry-javascript/pull/20120#ref-commit-f1b433e
https://github.com/apps/github-actions
https://github.com/claude
fix(skill-drift): update cocoa, php, react-native, and react skills f…https://github.com/getsentry/sentry-for-ai/commit/f1b433e12511bcb40ffb9a20ba5c5a518792c2a0
f1b433ehttps://github.com/getsentry/sentry-for-ai/commit/f1b433e12511bcb40ffb9a20ba5c5a518792c2a0
#95https://github.com/getsentry/sentry-for-ai/pull/95
getsentry/sentry-cocoa#7705https://github.com/getsentry/sentry-cocoa/pull/7705
getsentry/sentry-php#2059https://github.com/getsentry/sentry-php/pull/2059
getsentry/sentry-react-native#5960https://github.com/getsentry/sentry-react-native/pull/5960
getsentry/sentry-javascript#20120https://github.com/getsentry/sentry-javascript/pull/20120
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F20120
https://github.com/apps/cursor
cursor[bot] https://github.com/apps/cursor
https://github.com/getsentry/sentry-javascript/pull/20120/files/4198f26ed1efe4d2a2aaf55b07377446dde42028
https://github.com/mydea
mydea https://github.com/mydea
https://github.com/getsentry/sentry-javascript/pull/20120/files/434cc5264327ed583a5f71a9b1b1b2ada3b0f9f6
https://github.com/s1gr1d
s1gr1d https://github.com/s1gr1d
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20120
https://github.com/chargome
chargome https://github.com/chargome
Support error hook on React Router Framework https://github.com/getsentry/sentry-javascript/issues/20115
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20120
https://github.com/chargome
https://github.com/mydea
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.