| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:56f0caa9-65c8-e7af-33e9-913c43b0e955 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E752:28A7A5:385BE9:4C3441:6B0498BF |
| html-safe-nonce | 65c3522d54d2699271e8de88d3d398458e1b74c54bf0f318ef39c5f84f9a05c6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzUyOjI4QTdBNTozODVCRTk6NEMzNDQxOjZCMDQ5OEJGIiwidmlzaXRvcl9pZCI6IjMyMDU3MTg0MzQyNDM3MTMyMTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 38dbb148ec6d1b8df976a4a3bcace9a581b388e540648cb7b4e86e4e228251b3 |
| hovercard-subject-tag | pull_request:1266400704 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-javascript/7370/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/972af2c652db16063a29e294097d08e710c39851f6e238454a517c67daf29c6a/getsentry/sentry-javascript/pull/7370 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/972af2c652db16063a29e294097d08e710c39851f6e238454a517c67daf29c6a/getsentry/sentry-javascript/pull/7370 |
| og:image:alt | Closes #7343
This PR adds a basic schema for hooks in the SDK. They live on the client.
Currently there are three hooks defined, but none of them are implemented. They are beforeTransaction, transa... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AbhiPrasad |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9784b6f42e2d5eac4e394fa88cad134c0dc5b6662b4ff2787a1ed1ef5a96331d |
| turbo-cache-control | no-cache |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3fd14143b75b2af7b76bbd23b069867d091adfcc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/getsentry/sentry-javascript/pull/7370#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F7370 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F7370 |
| Sign up | https://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 |
| Reload | https://github.com/getsentry/sentry-javascript/pull/7370 |
| Reload | https://github.com/getsentry/sentry-javascript/pull/7370 |
| Reload | https://github.com/getsentry/sentry-javascript/pull/7370 |
| getsentry | https://github.com/getsentry |
| sentry-javascript | https://github.com/getsentry/sentry-javascript |
| Code | https://github.com/getsentry/sentry-javascript |
| Issues334 (334) | https://github.com/getsentry/sentry-javascript/issues |
| Pull requests53 (53) | https://github.com/getsentry/sentry-javascript/pulls |
| Discussions | https://github.com/getsentry/sentry-javascript/discussions |
| Actions | https://github.com/getsentry/sentry-javascript/actions |
| Security and quality7 (7) | https://github.com/getsentry/sentry-javascript/security |
| Insights | https://github.com/getsentry/sentry-javascript/insights |
| https://github.com/getsentry/sentry-javascript |
| AbhiPrasad | https://github.com/AbhiPrasad |
| develop | https://github.com/getsentry/sentry-javascript/tree/develop |
| abhi-hooks | https://github.com/getsentry/sentry-javascript/tree/abhi-hooks |
| Conversation | https://github.com/getsentry/sentry-javascript/pull/7370 |
| Commits11 (11) | https://github.com/getsentry/sentry-javascript/pull/7370/commits |
| Checks | https://github.com/getsentry/sentry-javascript/pull/7370/checks |
| Files changed | https://github.com/getsentry/sentry-javascript/pull/7370/files |
| feat(core): Add lifecycle hooks | https://github.com/getsentry/sentry-javascript/pull/7370#top |
| AbhiPrasad | https://github.com/AbhiPrasad |
| develop | https://github.com/getsentry/sentry-javascript/tree/develop |
| abhi-hooks | https://github.com/getsentry/sentry-javascript/tree/abhi-hooks |
|
| https://github.com/AbhiPrasad |
| AbhiPrasad | https://github.com/AbhiPrasad |
| Mar 7, 2023 | https://github.com/getsentry/sentry-javascript/pull/7370#issue-1613591557 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7370 |
| #7343 | https://github.com/getsentry/sentry-javascript/issues/7343 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7370 |
| https://github.com/AbhiPrasad |
| AbhiPrasad | https://github.com/AbhiPrasad |
| Mar 7, 2023 | https://github.com/getsentry/sentry-javascript/pull/7370#event-8686576360 |
| https://github.com/mydea |
| mydea | https://github.com/mydea |
|
Mar 7, 2023
| https://github.com/getsentry/sentry-javascript/pull/7370#pullrequestreview-1328791152 |
|
View reviewed changes
| https://github.com/getsentry/sentry-javascript/pull/7370/files |
| packages/types/src/client.ts | https://github.com/getsentry/sentry-javascript/pull/7370/files#diff-d05dfdc70248d685c008c33f75449d91ab3235ea162f83837125aa2dcaba0212 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7370 |
| https://github.com/mydea |
| mydea | https://github.com/mydea |
|
Mar 7, 2023
| https://github.com/getsentry/sentry-javascript/pull/7370#pullrequestreview-1328792888 |
|
View reviewed changes
| https://github.com/getsentry/sentry-javascript/pull/7370/files |
| packages/types/src/hooks.ts | https://github.com/getsentry/sentry-javascript/pull/7370/files#diff-71c05cd07549d51780343fb281d8299c5226e69bd45393a81d0a70a3318f53ed |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7370 |
|
| https://github.com/AbhiPrasad |
| add hooks types and base implementation | https://github.com/getsentry/sentry-javascript/pull/7370/commits/30679250a3c68fe5cd34bb8b1a48681a62e1e308 |
| 3067925 | https://github.com/getsentry/sentry-javascript/pull/7370/commits/30679250a3c68fe5cd34bb8b1a48681a62e1e308 |
| https://github.com/AbhiPrasad |
| AbhiPrasad | https://github.com/AbhiPrasad |
| force-pushed | https://github.com/getsentry/sentry-javascript/compare/bc746a0b50646e9e02b3d7d9b3da9e8cb99f7389..30679250a3c68fe5cd34bb8b1a48681a62e1e308 |
| bc746a0 | https://github.com/getsentry/sentry-javascript/commit/bc746a0b50646e9e02b3d7d9b3da9e8cb99f7389 |
| 3067925 | https://github.com/getsentry/sentry-javascript/commit/30679250a3c68fe5cd34bb8b1a48681a62e1e308 |
|
Compare
| https://github.com/getsentry/sentry-javascript/compare/bc746a0b50646e9e02b3d7d9b3da9e8cb99f7389..30679250a3c68fe5cd34bb8b1a48681a62e1e308 |
| March 8, 2023 15:16 | https://github.com/getsentry/sentry-javascript/pull/7370#event-8697565738 |
|
| https://github.com/AbhiPrasad |
| add tests | https://github.com/getsentry/sentry-javascript/pull/7370/commits/712feb2ee6e93cdd755f285cec5bb7cdb6713159 |
| 712feb2 | https://github.com/getsentry/sentry-javascript/pull/7370/commits/712feb2ee6e93cdd755f285cec5bb7cdb6713159 |
| https://github.com/AbhiPrasad |
| AbhiPrasad | https://github.com/AbhiPrasad |
| March 8, 2023 15:23 | https://github.com/getsentry/sentry-javascript/pull/7370#event-8697640046 |
|
| https://github.com/AbhiPrasad |
| make hook methods optional | https://github.com/getsentry/sentry-javascript/pull/7370/commits/2350bdb3cbd933090878ce363a9be905dceef7d8 |
| 2350bdb | https://github.com/getsentry/sentry-javascript/pull/7370/commits/2350bdb3cbd933090878ce363a9be905dceef7d8 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Mar 8, 2023 | https://github.com/getsentry/sentry-javascript/pull/7370#issuecomment-1460357582 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7370 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7370 |
|
| https://github.com/AbhiPrasad |
| fix lint | https://github.com/getsentry/sentry-javascript/pull/7370/commits/0e337f65198839dcd4a8a00b234b0b98dd86c32f |
| 0e337f6 | https://github.com/getsentry/sentry-javascript/pull/7370/commits/0e337f65198839dcd4a8a00b234b0b98dd86c32f |
| https://github.com/JonasBa |
| JonasBa | https://github.com/JonasBa |
|
Mar 8, 2023
| https://github.com/getsentry/sentry-javascript/pull/7370#pullrequestreview-1330944498 |
|
View reviewed changes
| https://github.com/getsentry/sentry-javascript/pull/7370/files/0e337f65198839dcd4a8a00b234b0b98dd86c32f |
| mydea | https://github.com/mydea |
| March 8, 2023 17:14 | https://github.com/getsentry/sentry-javascript/pull/7370#commits-pushed-79e1f59 |
|
| https://github.com/mydea |
| ref: Make baseclient hooks typesafe when using generics | https://github.com/getsentry/sentry-javascript/pull/7370/commits/79e1f592bf60d3a2b5ed5b058ccf0155d41cff2b |
| 79e1f59 | https://github.com/getsentry/sentry-javascript/pull/7370/commits/79e1f592bf60d3a2b5ed5b058ccf0155d41cff2b |
|
| https://github.com/mydea |
| use generic for hook | https://github.com/getsentry/sentry-javascript/pull/7370/commits/99f67e23b2bdc0a806838aa3a5c633ef7947211b |
| 99f67e2 | https://github.com/getsentry/sentry-javascript/pull/7370/commits/99f67e23b2bdc0a806838aa3a5c633ef7947211b |
| https://github.com/mydea |
| mydea | https://github.com/mydea |
| Mar 8, 2023 | https://github.com/getsentry/sentry-javascript/pull/7370#issuecomment-1460456960 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7370 |
|
| https://github.com/mydea |
| un-export HookStoreItem | https://github.com/getsentry/sentry-javascript/pull/7370/commits/729dedb98dda8f8e66ae1c04eb6d1960e5ce6690 |
| 729dedb | https://github.com/getsentry/sentry-javascript/pull/7370/commits/729dedb98dda8f8e66ae1c04eb6d1960e5ce6690 |
| https://github.com/mydea |
| mydea | https://github.com/mydea |
|
Mar 8, 2023
| https://github.com/getsentry/sentry-javascript/pull/7370#pullrequestreview-1331024672 |
|
View reviewed changes
| https://github.com/getsentry/sentry-javascript/pull/7370/files/729dedb98dda8f8e66ae1c04eb6d1960e5ce6690 |
|
| https://github.com/mydea |
| ref: Make types explicit | https://github.com/getsentry/sentry-javascript/pull/7370/commits/52cd479264c91e02552c5b3b40fecfac2c0eeff3 |
| 52cd479 | https://github.com/getsentry/sentry-javascript/pull/7370/commits/52cd479264c91e02552c5b3b40fecfac2c0eeff3 |
| https://github.com/mydea |
| mydea | https://github.com/mydea |
| Mar 8, 2023 | https://github.com/getsentry/sentry-javascript/pull/7370#issuecomment-1460527934 |
| @AbhiPrasad | https://github.com/AbhiPrasad |
| @lforst | https://github.com/lforst |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7370 |
|
| https://github.com/AbhiPrasad |
| fix lint | https://github.com/getsentry/sentry-javascript/pull/7370/commits/f68eb4e0d60f7373679d46b43007ec2ef2ab33f1 |
| f68eb4e | https://github.com/getsentry/sentry-javascript/pull/7370/commits/f68eb4e0d60f7373679d46b43007ec2ef2ab33f1 |
| https://github.com/AbhiPrasad |
| AbhiPrasad | https://github.com/AbhiPrasad |
|
Mar 8, 2023
| https://github.com/getsentry/sentry-javascript/pull/7370#ref-pullrequest-1615658079 |
|
feat(core): Emit hooks for transaction start/finish
#7387
| https://github.com/getsentry/sentry-javascript/pull/7387 |
|
| https://github.com/AbhiPrasad |
| fix types lint | https://github.com/getsentry/sentry-javascript/pull/7370/commits/32182f7262e4a68395ee6beb2f9009360f4833b5 |
| 32182f7 | https://github.com/getsentry/sentry-javascript/pull/7370/commits/32182f7262e4a68395ee6beb2f9009360f4833b5 |
| https://github.com/AbhiPrasad |
| AbhiPrasad | https://github.com/AbhiPrasad |
| March 8, 2023 18:18 | https://github.com/getsentry/sentry-javascript/pull/7370#event-8699198574 |
|
| https://github.com/AbhiPrasad |
| prettier | https://github.com/getsentry/sentry-javascript/pull/7370/commits/51570b580da9d7838a85b57110030fd9bd35a050 |
| 51570b5 | https://github.com/getsentry/sentry-javascript/pull/7370/commits/51570b580da9d7838a85b57110030fd9bd35a050 |
| https://github.com/AbhiPrasad |
| AbhiPrasad | https://github.com/AbhiPrasad |
| 3eeef09 | https://github.com/getsentry/sentry-javascript/commit/3eeef091434f3ee36c2566b1db5cce8ffe9897ca |
| Mar 8, 2023 | https://github.com/getsentry/sentry-javascript/pull/7370#event-8699724386 |
| https://github.com/AbhiPrasad |
| AbhiPrasad | https://github.com/AbhiPrasad |
| March 8, 2023 19:16 | https://github.com/getsentry/sentry-javascript/pull/7370#event-8699724618 |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F7370 |
|
| https://github.com/mydea |
|
mydea
| https://github.com/mydea |
|
| https://github.com/getsentry/sentry-javascript/pull/7370/files/729dedb98dda8f8e66ae1c04eb6d1960e5ce6690 |
|
| https://github.com/JonasBa |
|
JonasBa
| https://github.com/JonasBa |
|
| https://github.com/getsentry/sentry-javascript/pull/7370/files/0e337f65198839dcd4a8a00b234b0b98dd86c32f |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7370 |
|
| https://github.com/AbhiPrasad |
|
AbhiPrasad
| https://github.com/AbhiPrasad |
|
Add hook interface to BaseClient and Client type
| https://github.com/getsentry/sentry-javascript/issues/7343 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7370 |
|
| https://github.com/AbhiPrasad |
|
| https://github.com/mydea |
|
| https://github.com/JonasBa |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |