René's URL Explorer Experiment


Title: ref(replay): Replace `lodash.debounce` with custom debounce implementation by Lms24 · Pull Request #6593 · getsentry/sentry-javascript · GitHub

Open Graph Title: ref(replay): Replace `lodash.debounce` with custom debounce implementation by Lms24 · Pull Request #6593 · getsentry/sentry-javascript

X Title: ref(replay): Replace `lodash.debounce` with custom debounce implementation by Lms24 · Pull Request #6593 · getsentry/sentry-javascript

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

Open Graph Description: We've been using lodash.debounce to debounce the flushing of replay events. This has a number of drawbacks: It caused bugs and build errors for our users ([Replay] Uncaught TypeError: debounce...

X Description: We've been using lodash.debounce to debounce the flushing of replay events. This has a number of drawbacks: It caused bugs and build errors for our users ([Replay] Uncaught TypeError: debo...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.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:dd7cb207-be01-c0ec-9599-d6b3b3a0a01f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC974:1F98:2603CF5:32988AD:6B0447F9
html-safe-noncef4bb7a555405012b9b6000d30511eb03cedbdc226e05da033163e71639de8876
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTc0OjFGOTg6MjYwM0NGNTozMjk4OEFEOjZCMDQ0N0Y5IiwidmlzaXRvcl9pZCI6Ijg3MjY5NjExMDU4NTI5NzUwOTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac80d32ac10f89097c34fb61f87e3fdf621231f5980c755885e10288131ed53ea8
hovercard-subject-tagpull_request:1173625417
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/6593/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/badbd900fb14579af3c75b5d161d13294ef60fb833e78ccb066a18c995e0aa86/getsentry/sentry-javascript/pull/6593
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/badbd900fb14579af3c75b5d161d13294ef60fb833e78ccb066a18c995e0aa86/getsentry/sentry-javascript/pull/6593
og:image:altWe've been using lodash.debounce to debounce the flushing of replay events. This has a number of drawbacks: It caused bugs and build errors for our users ([Replay] Uncaught TypeError: debounce...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameLms24
hostnamegithub.com
expected-hostnamegithub.com
Noned4495c3631faba668036f176d1f5946901c5172efd73a6edb984029e7d4f8e46
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
release9ac4337fb7c6a5846cdfdb1a04f154d3c33ebc77
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/6593#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F6593
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%2F6593
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/6593
Reloadhttps://github.com/getsentry/sentry-javascript/pull/6593
Reloadhttps://github.com/getsentry/sentry-javascript/pull/6593
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues340 (340)https://github.com/getsentry/sentry-javascript/issues
Pull requests55 (55)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
Lms24https://github.com/Lms24
masterhttps://github.com/getsentry/sentry-javascript/tree/master
lms-replay-debouncehttps://github.com/getsentry/sentry-javascript/tree/lms-replay-debounce
Conversationhttps://github.com/getsentry/sentry-javascript/pull/6593
Commits7 (7)https://github.com/getsentry/sentry-javascript/pull/6593/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/6593/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/6593/files
ref(replay): Replace lodash.debounce with custom debounce implementationhttps://github.com/getsentry/sentry-javascript/pull/6593#top
Lms24https://github.com/Lms24
masterhttps://github.com/getsentry/sentry-javascript/tree/master
lms-replay-debouncehttps://github.com/getsentry/sentry-javascript/tree/lms-replay-debounce
https://github.com/Lms24
Lms24https://github.com/Lms24
Dec 21, 2022https://github.com/getsentry/sentry-javascript/pull/6593#issue-1506227660
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6593
lodash.debouncehttps://github.com/lodash/lodash/blob/4.0.8-npm-packages/lodash.debounce/index.js
[Replay] Uncaught TypeError: debounce.default is not a function #6474https://github.com/getsentry/sentry-javascript/issues/6474
fix(replay): Ensure lodash.debounce does not trigger next.js warning #6551https://github.com/getsentry/sentry-javascript/pull/6551
#6551https://github.com/getsentry/sentry-javascript/pull/6551
#6553https://github.com/getsentry/sentry-javascript/issues/6553
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6593
https://github.com/Lms24
Lms24https://github.com/Lms24
billyvghttps://github.com/billyvg
lforsthttps://github.com/lforst
mydeahttps://github.com/mydea
December 21, 2022 12:32https://github.com/getsentry/sentry-javascript/pull/6593#event-8086875354
https://github.com/Lms24
Lms24https://github.com/Lms24
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/d543172a37177ca71a5bed4d9f28a8e53e8ef297..ee523b8339a023f318b0b956b556c25fb19c2c67
d543172https://github.com/getsentry/sentry-javascript/commit/d543172a37177ca71a5bed4d9f28a8e53e8ef297
ee523b8https://github.com/getsentry/sentry-javascript/commit/ee523b8339a023f318b0b956b556c25fb19c2c67
Compare https://github.com/getsentry/sentry-javascript/compare/d543172a37177ca71a5bed4d9f28a8e53e8ef297..ee523b8339a023f318b0b956b556c25fb19c2c67
December 21, 2022 12:36https://github.com/getsentry/sentry-javascript/pull/6593#event-8086902331
https://github.com/lforst
lforsthttps://github.com/lforst
Dec 21, 2022 https://github.com/getsentry/sentry-javascript/pull/6593#pullrequestreview-1226010964
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/6593/files
packages/utils/src/debounce.tshttps://github.com/getsentry/sentry-javascript/pull/6593/files#diff-a2bd3c228c27edf681caeae3b31fd0275164097d07f0b5c9a279b595231108af
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6593
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Dec 21, 2022https://github.com/getsentry/sentry-javascript/pull/6593#issuecomment-1361274722
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6593
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6593
https://github.com/lforst
lforsthttps://github.com/lforst
Dec 21, 2022https://github.com/getsentry/sentry-javascript/pull/6593#issuecomment-1361295626
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6593
https://github.com/Lms24
Lms24https://github.com/Lms24
Dec 21, 2022https://github.com/getsentry/sentry-javascript/pull/6593#issuecomment-1361308566
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6593
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6593
Lms24https://github.com/Lms24
December 22, 2022 10:16https://github.com/getsentry/sentry-javascript/pull/6593#commits-pushed-10e0288
https://github.com/Lms24
ref(replay): Replace lodash.debounce with custom implementationhttps://github.com/getsentry/sentry-javascript/pull/6593/commits/10e0288ab99b0d95db86db6263141c92700f2529
10e0288https://github.com/getsentry/sentry-javascript/pull/6593/commits/10e0288ab99b0d95db86db6263141c92700f2529
https://github.com/Lms24
remove lodash.debounce dependencies and patchhttps://github.com/getsentry/sentry-javascript/pull/6593/commits/df01c9f87aebeab4042a217973c3a774e2f0600b
df01c9fhttps://github.com/getsentry/sentry-javascript/pull/6593/commits/df01c9f87aebeab4042a217973c3a774e2f0600b
https://github.com/Lms24
remove leftover console logshttps://github.com/getsentry/sentry-javascript/pull/6593/commits/584f2946b7f3d86655753a2c15378b89acf66112
584f294https://github.com/getsentry/sentry-javascript/pull/6593/commits/584f2946b7f3d86655753a2c15378b89acf66112
https://github.com/Lms24
use 2-timers approach and adjust testshttps://github.com/getsentry/sentry-javascript/pull/6593/commits/b7ae98649ea1664092882ff3d27163d27b900b70
b7ae986https://github.com/getsentry/sentry-javascript/pull/6593/commits/b7ae98649ea1664092882ff3d27163d27b900b70
https://github.com/Lms24
Lms24https://github.com/Lms24
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/673973106e01a9b9397ec426b84e9692f0c56583..b7ae98649ea1664092882ff3d27163d27b900b70
6739731https://github.com/getsentry/sentry-javascript/commit/673973106e01a9b9397ec426b84e9692f0c56583
b7ae986https://github.com/getsentry/sentry-javascript/commit/b7ae98649ea1664092882ff3d27163d27b900b70
Compare https://github.com/getsentry/sentry-javascript/compare/673973106e01a9b9397ec426b84e9692f0c56583..b7ae98649ea1664092882ff3d27163d27b900b70
December 22, 2022 12:52https://github.com/getsentry/sentry-javascript/pull/6593#event-8095540705
https://github.com/Lms24
Lms24https://github.com/Lms24
Dec 22, 2022 https://github.com/getsentry/sentry-javascript/pull/6593#pullrequestreview-1227635030
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/6593/files
Lms24https://github.com/Lms24
https://github.com/getsentry/sentry-javascript/pull/6593#pullrequestreview-1227635030
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6593
packages/replay/test/unit/index-errorSampleRate.test.tshttps://github.com/getsentry/sentry-javascript/pull/6593/files#diff-82e7006527332c93cc046e84f62ade92b69f8e1399ea1e5f18b6932c1ae611eb
Lms24https://github.com/Lms24
Dec 22, 2022https://github.com/getsentry/sentry-javascript/pull/6593#discussion_r1055437817
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@billyvghttps://github.com/billyvg
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6593
billyvghttps://github.com/billyvg
Dec 22, 2022https://github.com/getsentry/sentry-javascript/pull/6593#discussion_r1055600375
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6593
Lms24https://github.com/Lms24
Dec 22, 2022https://github.com/getsentry/sentry-javascript/pull/6593#discussion_r1055683952
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6593
Lms24https://github.com/Lms24
Dec 22, 2022https://github.com/getsentry/sentry-javascript/pull/6593#discussion_r1055689563
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6593
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#6612https://github.com/getsentry/sentry-javascript/pull/6612
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6593
https://github.com/Lms24
Lms24https://github.com/Lms24
Dec 22, 2022 https://github.com/getsentry/sentry-javascript/pull/6593#pullrequestreview-1227638710
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/6593/files
packages/replay/rollup.bundle.config.jshttps://github.com/getsentry/sentry-javascript/pull/6593/files#diff-aa4aec6b5dd8839e7415c2a133333325e949d750ddd45fbfee4b0d155fbe6e14
Lms24https://github.com/Lms24
Dec 22, 2022https://github.com/getsentry/sentry-javascript/pull/6593#discussion_r1055440256
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6593
https://github.com/Lms24
remove commonjs() rollup pluginhttps://github.com/getsentry/sentry-javascript/pull/6593/commits/8b0bc87b84df67172a517d5badf026b5075127d7
8b0bc87https://github.com/getsentry/sentry-javascript/pull/6593/commits/8b0bc87b84df67172a517d5badf026b5075127d7
https://github.com/Lms24
Lms24https://github.com/Lms24
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/964a0803bcd8bae7e649f993e5f633855c85dda4..8b0bc87b84df67172a517d5badf026b5075127d7
964a080https://github.com/getsentry/sentry-javascript/commit/964a0803bcd8bae7e649f993e5f633855c85dda4
8b0bc87https://github.com/getsentry/sentry-javascript/commit/8b0bc87b84df67172a517d5badf026b5075127d7
Compare https://github.com/getsentry/sentry-javascript/compare/964a0803bcd8bae7e649f993e5f633855c85dda4..8b0bc87b84df67172a517d5badf026b5075127d7
December 22, 2022 13:08https://github.com/getsentry/sentry-javascript/pull/6593#event-8095663698
Lms24https://github.com/Lms24
December 22, 2022 14:15https://github.com/getsentry/sentry-javascript/pull/6593#commits-pushed-853b98a
https://github.com/Lms24
remove accidental line copyhttps://github.com/getsentry/sentry-javascript/pull/6593/commits/853b98a67248d6de38771ba19a7543332e14041f
853b98ahttps://github.com/getsentry/sentry-javascript/pull/6593/commits/853b98a67248d6de38771ba19a7543332e14041f
https://github.com/Lms24
add test for equal wait and maxWaithttps://github.com/getsentry/sentry-javascript/pull/6593/commits/816309b64a4ed08a9868be5a51bc5098ee5c3490
816309bhttps://github.com/getsentry/sentry-javascript/pull/6593/commits/816309b64a4ed08a9868be5a51bc5098ee5c3490
https://github.com/Lms24
Lms24https://github.com/Lms24
Dec 22, 2022 https://github.com/getsentry/sentry-javascript/pull/6593#ref-pullrequest-1508295929
ref(replay): Extract flush min and max delay default values to constants #6612 https://github.com/getsentry/sentry-javascript/pull/6612
https://github.com/mydea
mydeahttps://github.com/mydea
Jan 3, 2023 https://github.com/getsentry/sentry-javascript/pull/6593#pullrequestreview-1234373334
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/6593/files/816309b64a4ed08a9868be5a51bc5098ee5c3490
mydeahttps://github.com/mydea
https://github.com/getsentry/sentry-javascript/pull/6593#pullrequestreview-1234373334
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6593
https://github.com/billyvg
billyvghttps://github.com/billyvg
Jan 3, 2023 https://github.com/getsentry/sentry-javascript/pull/6593#pullrequestreview-1234954650
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/6593/files/816309b64a4ed08a9868be5a51bc5098ee5c3490
https://github.com/Lms24
Lms24https://github.com/Lms24
23a7d0bhttps://github.com/getsentry/sentry-javascript/commit/23a7d0b2fc418a90ae2559f2680c6d417b6d17d2
Jan 4, 2023https://github.com/getsentry/sentry-javascript/pull/6593#event-8148839499
https://github.com/Lms24
Lms24https://github.com/Lms24
January 4, 2023 08:17https://github.com/getsentry/sentry-javascript/pull/6593#event-8148839660
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%2F6593
https://github.com/billyvg
billyvg https://github.com/billyvg
https://github.com/getsentry/sentry-javascript/pull/6593/files/816309b64a4ed08a9868be5a51bc5098ee5c3490
https://github.com/mydea
mydea https://github.com/mydea
https://github.com/getsentry/sentry-javascript/pull/6593/files/816309b64a4ed08a9868be5a51bc5098ee5c3490
https://github.com/lforst
lforst https://github.com/lforst
https://github.com/getsentry/sentry-javascript/pull/6593/files/ee523b8339a023f318b0b956b556c25fb19c2c67
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6593
[Replay] Remove lodash.debounce dependency https://github.com/getsentry/sentry-javascript/issues/6553
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6593
https://github.com/Lms24
https://github.com/lforst
https://github.com/billyvg
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.