René's URL Explorer Experiment


Title: fix(query-core): use !== undefined for timer ID checks to handle falsy 0 by ljjunh · Pull Request #10402 · TanStack/query · GitHub

Open Graph Title: fix(query-core): use !== undefined for timer ID checks to handle falsy 0 by ljjunh · Pull Request #10402 · TanStack/query

X Title: fix(query-core): use !== undefined for timer ID checks to handle falsy 0 by ljjunh · Pull Request #10402 · TanStack/query

Description: 🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query. - fix(query-core): use !== undefined for timer ID checks to handle falsy 0 by ljjunh · Pull Request #10402 · TanStack/query

Open Graph Description: 🎯 Changes Fixes #10395 Timer IDs can legally be 0 when using a custom timeout provider. The current code uses truthy checks (if (this.#gcTimeout)) before calling clearTimeout/clearInte...

X Description: 🎯 Changes Fixes #10395 Timer IDs can legally be 0 when using a custom timeout provider. The current code uses truthy checks (if (this.#gcTimeout)) before calling clearTimeout/clearInte...

Opengraph URL: https://github.com/TanStack/query/pull/10402

X: @github

direct link

Domain: github.com

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:d084341c-ba9f-84f0-87c1-9a9ec22112e6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA2F0:1E2E76:E2BA0E:1360868:6A4C62AA
html-safe-nonce7e5787c8656b6d5f15d8f85d33b331b0e7417adc65ab4c205c8fdc138dc68e55
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMkYwOjFFMkU3NjpFMkJBMEU6MTM2MDg2ODo2QTRDNjJBQSIsInZpc2l0b3JfaWQiOiI1MDgzMTQzMDI1NTE0NTM3NjQyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacfd410b412af7a484dca6a5dfe8e655b32168d8573fc83c4e9f788f43f4df2e7f
hovercard-subject-tagpull_request:3491934872
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/TanStack/query/10402/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b0899415bb9974b14fac3956264eb546fc22ccb193d904cc4f2c784fc4b490ba/TanStack/query/pull/10402
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b0899415bb9974b14fac3956264eb546fc22ccb193d904cc4f2c784fc4b490ba/TanStack/query/pull/10402
og:image:alt🎯 Changes Fixes #10395 Timer IDs can legally be 0 when using a custom timeout provider. The current code uses truthy checks (if (this.#gcTimeout)) before calling clearTimeout/clearInte...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameljjunh
hostnamegithub.com
expected-hostnamegithub.com
None3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c
turbo-cache-controlno-cache
go-importgithub.com/TanStack/query git https://github.com/TanStack/query.git
octolytics-dimension-user_id72518640
octolytics-dimension-user_loginTanStack
octolytics-dimension-repository_id207645083
octolytics-dimension-repository_nwoTanStack/query
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id207645083
octolytics-dimension-repository_network_root_nwoTanStack/query
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
release14099438da5379150f15a2892474c7c7e6c0e55e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/TanStack/query/pull/10402#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTanStack%2Fquery%2Fpull%2F10402
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTanStack%2Fquery%2Fpull%2F10402
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=TanStack%2Fquery
Reloadhttps://github.com/TanStack/query/pull/10402
Reloadhttps://github.com/TanStack/query/pull/10402
Reloadhttps://github.com/TanStack/query/pull/10402
Please reload this pagehttps://github.com/TanStack/query/pull/10402
TanStack https://github.com/TanStack
queryhttps://github.com/TanStack/query
Please reload this pagehttps://github.com/TanStack/query/pull/10402
Notifications https://github.com/login?return_to=%2FTanStack%2Fquery
Fork 3.9k https://github.com/login?return_to=%2FTanStack%2Fquery
Star 49.9k https://github.com/login?return_to=%2FTanStack%2Fquery
Code https://github.com/TanStack/query
Issues 70 https://github.com/TanStack/query/issues
Pull requests 114 https://github.com/TanStack/query/pulls
Discussions https://github.com/TanStack/query/discussions
Actions https://github.com/TanStack/query/actions
Security and quality 1 https://github.com/TanStack/query/security
Insights https://github.com/TanStack/query/pulse
Code https://github.com/TanStack/query
Issues https://github.com/TanStack/query/issues
Pull requests https://github.com/TanStack/query/pulls
Discussions https://github.com/TanStack/query/discussions
Actions https://github.com/TanStack/query/actions
Security and quality https://github.com/TanStack/query/security
Insights https://github.com/TanStack/query/pulse
ljjunhhttps://github.com/ljjunh
TanStack:mainhttps://github.com/TanStack/query/tree/main
ljjunh:fix/falsy-timer-id-zero-not-clearedhttps://github.com/ljjunh/query/tree/fix/falsy-timer-id-zero-not-cleared
Conversationhttps://github.com/TanStack/query/pull/10402
Commits2 (2)https://github.com/TanStack/query/pull/10402/commits
Checkshttps://github.com/TanStack/query/pull/10402/checks
Files changedhttps://github.com/TanStack/query/pull/10402/files
fix(query-core): use !== undefined for timer ID checks to handle falsy 0https://github.com/TanStack/query/pull/10402#top
ljjunhhttps://github.com/ljjunh
TanStack:mainhttps://github.com/TanStack/query/tree/main
ljjunh:fix/falsy-timer-id-zero-not-clearedhttps://github.com/ljjunh/query/tree/fix/falsy-timer-id-zero-not-cleared
https://github.com/ljjunh
ljjunhhttps://github.com/ljjunh
Apr 6, 2026https://github.com/TanStack/query/pull/10402#issue-4210158694
Please reload this pagehttps://github.com/TanStack/query/pull/10402
#10395https://github.com/TanStack/query/issues/10395
Please reload this pagehttps://github.com/TanStack/query/pull/10402
https://github.com/ljjunh
fix(query-core): use !== undefined for timer ID checks to handle falsy 0https://github.com/TanStack/query/pull/10402/commits/ef887c9238e1c6da1e49989970ffb27c85b31b20
ef887c9https://github.com/TanStack/query/pull/10402/commits/ef887c9238e1c6da1e49989970ffb27c85b31b20
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
package: query-core https://github.com/TanStack/query/issues?q=state%3Aopen%20label%3A%22package%3A%20query-core%22
Apr 6, 2026https://github.com/TanStack/query/pull/10402#event-24216590634
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Apr 6, 2026https://github.com/TanStack/query/pull/10402#issuecomment-4190806203
Please reload this pagehttps://github.com/TanStack/query/pull/10402
ef887c9https://github.com/TanStack/query/commit/ef887c9238e1c6da1e49989970ffb27c85b31b20
3450e7dhttps://github.com/TanStack/query/commit/3450e7dde9034d0c043d1b2d819084901510de87
fix(query-core): clear timers when timer ID is 0 #10401https://github.com/TanStack/query/pull/10401
CodeRabbithttps://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=TanStack/query&utm_content=10402
Xhttps://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai
Mastodonhttps://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai
Reddithttps://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai
LinkedInhttps://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code
Please reload this pagehttps://github.com/TanStack/query/pull/10402
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Apr 6, 2026 https://github.com/TanStack/query/pull/10402#pullrequestreview-4060738503
View reviewed changes https://github.com/TanStack/query/pull/10402/files/ef887c9238e1c6da1e49989970ffb27c85b31b20
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/TanStack/query/pull/10402#pullrequestreview-4060738503
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
eac62b8https://github.com/TanStack/query/commit/eac62b859302e48f7793b51e85573de13d708c60
ef887c9https://github.com/TanStack/query/commit/ef887c9238e1c6da1e49989970ffb27c85b31b20
Please reload this pagehttps://github.com/TanStack/query/pull/10402
https://github.com/TkDodo
Merge branch 'main' into fix/falsy-timer-id-zero-not-clearedhttps://github.com/TanStack/query/pull/10402/commits/3450e7dde9034d0c043d1b2d819084901510de87
3450e7dhttps://github.com/TanStack/query/pull/10402/commits/3450e7dde9034d0c043d1b2d819084901510de87
https://github.com/TkDodo
TkDodohttps://github.com/TkDodo
Apr 9, 2026https://github.com/TanStack/query/pull/10402#issuecomment-4212429103
Please reload this pagehttps://github.com/TanStack/query/pull/10402
https://github.com/TkDodo
TkDodohttps://github.com/TkDodo
Apr 9, 2026https://github.com/TanStack/query/pull/10402#event-24326494514
https://github.co/hiddenchars
https://github.com/TanStack/query/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%2FTanStack%2Fquery%2Fpull%2F10402
https://github.com/apps/coderabbitai
coderabbitai[bot] https://github.com/apps/coderabbitai
https://github.com/TanStack/query/pull/10402/files/ef887c9238e1c6da1e49989970ffb27c85b31b20
package: query-core https://github.com/TanStack/query/issues?q=state%3Aopen%20label%3A%22package%3A%20query-core%22
Falsy timer ID (0) prevents proper timeout/interval cleanup with custom timeout provider https://github.com/TanStack/query/issues/10395
Please reload this pagehttps://github.com/TanStack/query/pull/10402
https://github.com/ljjunh
https://github.com/TkDodo
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

Viewport: width=device-width


URLs of crawlers that visited me.