René's URL Explorer Experiment


Title: fix(react): Add children prop type to ErrorBoundary component by cameronaziz · Pull Request #4966 · getsentry/sentry-javascript · GitHub

Open Graph Title: fix(react): Add children prop type to ErrorBoundary component by cameronaziz · Pull Request #4966 · getsentry/sentry-javascript

X Title: fix(react): Add children prop type to ErrorBoundary component by cameronaziz · Pull Request #4966 · getsentry/sentry-javascript

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

Open Graph Description: To support React 18, which removed children as an optional prop for functional components, this adds children as an option prop for the ErrorBoundary component. Fixes #4904

X Description: To support React 18, which removed children as an optional prop for functional components, this adds children as an option prop for the ErrorBoundary component. Fixes #4904

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.4

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:02b6dee2-0b17-a726-bcf7-10a7e1ff9327
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9AF2:E7908:99A14C:D76D71:6B04888B
html-safe-nonce5ea500e5ef551c09b1bd64e3f5732f84b4abb407dd69d352de8f714423fff3d9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QUYyOkU3OTA4Ojk5QTE0QzpENzZENzE6NkIwNDg4OEIiLCJ2aXNpdG9yX2lkIjoiNTQyNDUyMjc3MTU2Mjc5MzA5OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd5157ff24a6fa64206c061697c032777d4563e568949573b96af1311e5872264
hovercard-subject-tagpull_request:917188812
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/4966/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/97e48e4b7fd7d40d9ad3eaee3a8490a6d5023d779bbe10696fc2144ee36f1ce1/getsentry/sentry-javascript/pull/4966
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/97e48e4b7fd7d40d9ad3eaee3a8490a6d5023d779bbe10696fc2144ee36f1ce1/getsentry/sentry-javascript/pull/4966
og:image:altTo support React 18, which removed children as an optional prop for functional components, this adds children as an option prop for the ErrorBoundary component. Fixes #4904
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecameronaziz
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/4966#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F4966
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%2F4966
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/4966
Reloadhttps://github.com/getsentry/sentry-javascript/pull/4966
Reloadhttps://github.com/getsentry/sentry-javascript/pull/4966
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
lforsthttps://github.com/lforst
getsentry:masterhttps://github.com/getsentry/sentry-javascript/tree/master
cameronaziz:add-react-18-supporthttps://github.com/cameronaziz/sentry-javascript/tree/add-react-18-support
Conversationhttps://github.com/getsentry/sentry-javascript/pull/4966
Commits4 (4)https://github.com/getsentry/sentry-javascript/pull/4966/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/4966/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/4966/files
fix(react): Add children prop type to ErrorBoundary componenthttps://github.com/getsentry/sentry-javascript/pull/4966#top
lforsthttps://github.com/lforst
getsentry:masterhttps://github.com/getsentry/sentry-javascript/tree/master
cameronaziz:add-react-18-supporthttps://github.com/cameronaziz/sentry-javascript/tree/add-react-18-support
https://github.com/cameronaziz
cameronazizhttps://github.com/cameronaziz
Apr 23, 2022https://github.com/getsentry/sentry-javascript/pull/4966#issue-1213285174
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/4966
#4904https://github.com/getsentry/sentry-javascript/issues/4904
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/4966
https://github.com/cameronaziz
Add children prop to ErrorBoundary prop type aliashttps://github.com/getsentry/sentry-javascript/pull/4966/commits/1a575e68fd58d64f0dfde90ea7990c48ee07db2b
1a575e6https://github.com/getsentry/sentry-javascript/pull/4966/commits/1a575e68fd58d64f0dfde90ea7990c48ee07db2b
https://github.com/cameronaziz
cameronazizhttps://github.com/cameronaziz
Apr 24, 2022 https://github.com/getsentry/sentry-javascript/pull/4966#ref-issue-1197752351
Getting Typescript errors when upgrading to React 18 #4904 https://github.com/getsentry/sentry-javascript/issues/4904
cameronazizhttps://github.com/cameronaziz
April 24, 2022 21:35https://github.com/getsentry/sentry-javascript/pull/4966#commits-pushed-ea99673
https://github.com/cameronaziz
Add Support for Function Child Componenthttps://github.com/getsentry/sentry-javascript/pull/4966/commits/ea99673afb30bf5f77d842d0ab211c0ff7a4f912
ea99673https://github.com/getsentry/sentry-javascript/pull/4966/commits/ea99673afb30bf5f77d842d0ab211c0ff7a4f912
https://github.com/cameronaziz
use PropsWithChildrenhttps://github.com/getsentry/sentry-javascript/pull/4966/commits/ae050defe1640856726339ff6265e8de04129c52
ae050dehttps://github.com/getsentry/sentry-javascript/pull/4966/commits/ae050defe1640856726339ff6265e8de04129c52
https://github.com/lforst
lforsthttps://github.com/lforst
Apr 25, 2022 https://github.com/getsentry/sentry-javascript/pull/4966#pullrequestreview-951464042
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/4966/files/ae050defe1640856726339ff6265e8de04129c52
packages/react/src/errorboundary.tsxhttps://github.com/getsentry/sentry-javascript/pull/4966/files/ae050defe1640856726339ff6265e8de04129c52#diff-0c3aa317cf9c841d89853ace58e8572990bb3c464066708a4c08242afe9e556b
lforsthttps://github.com/lforst
Apr 25, 2022https://github.com/getsentry/sentry-javascript/pull/4966#discussion_r857343595
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@cameronazizhttps://github.com/cameronaziz
herehttps://stackoverflow.com/questions/71788254/react-18-typescript-children-fc/71809927#71809927
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/4966
cameronazizhttps://github.com/cameronaziz
Apr 25, 2022https://github.com/getsentry/sentry-javascript/pull/4966#discussion_r857572714
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@lforsthttps://github.com/lforst
ea99673https://github.com/getsentry/sentry-javascript/commit/ea99673afb30bf5f77d842d0ab211c0ff7a4f912
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/4966
lforsthttps://github.com/lforst
Apr 25, 2022https://github.com/getsentry/sentry-javascript/pull/4966#discussion_r857606788
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
1a575e6https://github.com/getsentry/sentry-javascript/commit/1a575e68fd58d64f0dfde90ea7990c48ee07db2b
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/4966
cameronazizhttps://github.com/cameronaziz
Apr 25, 2022https://github.com/getsentry/sentry-javascript/pull/4966#discussion_r857860819
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/4966
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
sentry-javascript/packages/react/src/errorboundary.tsxhttps://github.com/getsentry/sentry-javascript/blob/cafec74e26fd7cde747fe4f37a26b9a0e13f620b/packages/react/src/errorboundary.tsx#L153-L155
cafec74https://github.com/getsentry/sentry-javascript/commit/cafec74e26fd7cde747fe4f37a26b9a0e13f620b
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/4966
lforsthttps://github.com/lforst
Apr 25, 2022https://github.com/getsentry/sentry-javascript/pull/4966#discussion_r858020480
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
ea99673https://github.com/getsentry/sentry-javascript/commit/ea99673afb30bf5f77d842d0ab211c0ff7a4f912
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/4966
Add children prop to ErrorBoundryhttps://github.com/getsentry/sentry-javascript/pull/4966/commits/d9231c3b74bfafe8403d47016baef86b229c00ec
d9231c3https://github.com/getsentry/sentry-javascript/pull/4966/commits/d9231c3b74bfafe8403d47016baef86b229c00ec
https://github.com/lforst
lforsthttps://github.com/lforst
Apr 26, 2022https://github.com/getsentry/sentry-javascript/pull/4966#event-6496308848
https://github.com/Lms24
Lms24https://github.com/Lms24
Apr 26, 2022 https://github.com/getsentry/sentry-javascript/pull/4966#pullrequestreview-952933832
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/4966/files/d9231c3b74bfafe8403d47016baef86b229c00ec
https://github.com/lforst
lforsthttps://github.com/lforst
6824a7ahttps://github.com/getsentry/sentry-javascript/commit/6824a7a91ad580303feba9a77b81c0177f582c06
Apr 26, 2022https://github.com/getsentry/sentry-javascript/pull/4966#event-6496469449
https://github.com/lforst
lforsthttps://github.com/lforst
Apr 26, 2022https://github.com/getsentry/sentry-javascript/pull/4966#issuecomment-1109479741
@cameronazizhttps://github.com/cameronaziz
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/4966
https://github.com/Lms24
Lms24https://github.com/Lms24
Apr 28, 2022 https://github.com/getsentry/sentry-javascript/pull/4966#ref-issue-1218067137
@sentry/react & @sentry/tracing 6.19.6 -> 6.19.7 adding 10kB to bundle #5003 https://github.com/getsentry/sentry-javascript/issues/5003
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%2F4966
https://github.com/Lms24
Lms24 https://github.com/Lms24
https://github.com/getsentry/sentry-javascript/pull/4966/files/d9231c3b74bfafe8403d47016baef86b229c00ec
https://github.com/lforst
lforst https://github.com/lforst
https://github.com/getsentry/sentry-javascript/pull/4966/files/ae050defe1640856726339ff6265e8de04129c52
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/4966
Getting Typescript errors when upgrading to React 18 https://github.com/getsentry/sentry-javascript/issues/4904
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/4966
https://github.com/cameronaziz
https://github.com/lforst
https://github.com/Lms24
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.