René's URL Explorer Experiment


Title: fix(react-query): avoid outdated key fetches on Activity reveal by vkpdeveloper · Pull Request #12283 · TanStack/query · GitHub

Open Graph Title: fix(react-query): avoid outdated key fetches on Activity reveal by vkpdeveloper · Pull Request #12283 · TanStack/query

X Title: fix(react-query): avoid outdated key fetches on Activity reveal by vkpdeveloper · Pull Request #12283 · 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(react-query): avoid outdated key fetches on Activity reveal by vkpdeveloper · Pull Request #12283 · TanStack/query

Open Graph Description: 🎯 Changes Fixes #12227 When the query key changes while an <Activity> tree is hidden, effects don't run, so the observer still points at the old query. On reveal the subscribe effect runs...

X Description: 🎯 Changes Fixes #12227 When the query key changes while an &lt;Activity&gt; tree is hidden, effects don&#39;t run, so the observer still points at the old query. On reveal the subscribe...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
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:77606af3-2d27-a559-e120-bc87ff1270a4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB588:28B5FF:18B8E40:21F4280:6AF9A678
html-safe-nonce725c18918e2963a178eb04b6fca541592d58db721acd7cc3839c839c6dca0d8a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTg4OjI4QjVGRjoxOEI4RTQwOjIxRjQyODA6NkFGOUE2NzgiLCJ2aXNpdG9yX2lkIjoiNjkxNDU1OTQ3MTg2NzUwNDI0OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac80ca2b42c2417879a3eed4753620d1e87117bc9b477c3d369c6197405aae212a
hovercard-subject-tagpull_request:4965649308
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/12283/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e2674172a92cdda9ead8715b48137b14a4e2130c680de929aed202ba66cce2f5/TanStack/query/pull/12283
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e2674172a92cdda9ead8715b48137b14a4e2130c680de929aed202ba66cce2f5/TanStack/query/pull/12283
og:image:alt🎯 Changes Fixes #12227 When the query key changes while an <Activity> tree is hidden, effects don't run, so the observer still points at the old query. On reveal the subscribe effect runs...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevkpdeveloper
hostnamegithub.com
expected-hostnamegithub.com
None612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7
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
release072e34035c13c31543fba9f025cbbbda4210dae4
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/TanStack/query/pull/12283#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTanStack%2Fquery%2Fpull%2F12283
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%2FTanStack%2Fquery%2Fpull%2F12283
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=TanStack%2Fquery
Reloadhttps://github.com/TanStack/query/pull/12283
Reloadhttps://github.com/TanStack/query/pull/12283
Reloadhttps://github.com/TanStack/query/pull/12283
TanStackhttps://github.com/TanStack
queryhttps://github.com/TanStack/query
Codehttps://github.com/TanStack/query
Issues49 (49)https://github.com/TanStack/query/issues
Pull requests94 (94)https://github.com/TanStack/query/pulls
Discussionshttps://github.com/TanStack/query/discussions
Actionshttps://github.com/TanStack/query/actions
Security and quality1 (1)https://github.com/TanStack/query/security
Insightshttps://github.com/TanStack/query/pulse
https://github.com/TanStack/query
vkpdeveloperhttps://github.com/vkpdeveloper
TanStack:mainhttps://github.com/TanStack/query/tree/main
vkpdeveloper:fix/activity-reveal-stale-keyhttps://github.com/vkpdeveloper/query/tree/fix/activity-reveal-stale-key
Conversationhttps://github.com/TanStack/query/pull/12283
Commits1 (1)https://github.com/TanStack/query/pull/12283/commits
Checkshttps://github.com/TanStack/query/pull/12283/checks
Files changedhttps://github.com/TanStack/query/pull/12283/files
fix(react-query): avoid outdated key fetches on Activity revealhttps://github.com/TanStack/query/pull/12283#top
vkpdeveloperhttps://github.com/vkpdeveloper
TanStack:mainhttps://github.com/TanStack/query/tree/main
vkpdeveloper:fix/activity-reveal-stale-keyhttps://github.com/vkpdeveloper/query/tree/fix/activity-reveal-stale-key
https://github.com/vkpdeveloper
vkpdeveloperhttps://github.com/vkpdeveloper
Oct 22, 2026https://github.com/TanStack/query/pull/12283#issue-5977287525
Please reload this pagehttps://github.com/TanStack/query/pull/12283
#12227https://github.com/TanStack/query/issues/12227
Contributing guidehttps://github.com/TanStack/query/blob/main/CONTRIBUTING.md
AI contribution policyhttps://github.com/TanStack/query/blob/main/AI_POLICY.md
changesethttps://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md
Claude Codehttps://claude.com/claude-code
Please reload this pagehttps://github.com/TanStack/query/pull/12283
https://github.com/vkpdeveloper
fix(react-query): avoid outdated key fetches on Activity revealhttps://github.com/TanStack/query/pull/12283/commits/6c4f4972516b90173d55c42a1bbbd5ad9c12ab90
6c4f497https://github.com/TanStack/query/pull/12283/commits/6c4f4972516b90173d55c42a1bbbd5ad9c12ab90
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Oct 22, 2026https://github.com/TanStack/query/pull/12283#issuecomment-6338185044
6c4f497https://github.com/TanStack/query/commit/6c4f4972516b90173d55c42a1bbbd5ad9c12ab90
Click here to learn what changesets arehttps://changesets.dev/faq
Click here if you're a maintainer who wants to add another changeset to this PRhttps://github.com/vkpdeveloper/query/new/fix/activity-reveal-stale-key?filename=.changeset/large-drinks-agree.md&value=---%0A%22%40tanstack%2Freact-query-persist-client%22%3A%20patch%0A%22%40tanstack%2Freact-query%22%3A%20patch%0A---%0A%0Afix(react-query)%3A%20avoid%20outdated%20key%20fetches%20on%20Activity%20reveal%0A
Please reload this pagehttps://github.com/TanStack/query/pull/12283
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Oct 22, 2026https://github.com/TanStack/query/pull/12283#issuecomment-6338206830
Please reload this pagehttps://github.com/TanStack/query/pull/12283
https://app.coderabbit.ai/change-stack/TanStack/query/pull/12283?scope=ghh_OusAJGA4HG8ljoOV0wJvVx8NmnZIjc2DdjmxOu0xZWA&cs_source=review_comment
TanStack/queryhttps://github.com/TanStack/query
mainhttps://github.com/TanStack/query/tree/main
.coderabbit.yamlhttps://github.com/TanStack/query/blob/84332ded752c6796fb3499a47c66f20c22bfbc43/.coderabbit.yaml
84332dehttps://github.com/TanStack/query/commit/84332ded752c6796fb3499a47c66f20c22bfbc43
84332dehttps://github.com/TanStack/query/commit/84332ded752c6796fb3499a47c66f20c22bfbc43
6c4f497https://github.com/TanStack/query/commit/6c4f4972516b90173d55c42a1bbbd5ad9c12ab90
https://camo.githubusercontent.com/8f159bbb8848bd140c752331ef9b58f49be054035a4d90b12ab90a8478776bde/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7761726e696e672e737667
https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667
https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667
https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667
https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667
CodeRabbithttps://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=TanStack/query&utm_content=12283
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/12283
https://github.com/TkDodo
TkDodohttps://github.com/TkDodo
Nov 1, 2026https://github.com/TanStack/query/pull/12283#event-34826442474
TkDodohttps://github.com/TkDodo
Nov 1, 2026 https://github.com/TanStack/query/pull/12283#ref-commit-7e90c55
https://github.com/TkDodo
test(react-query): cover Activity reveal for all query hookshttps://github.com/lazerg/query/commit/7e90c55f5108691d0b0c9cc68113ebb3264d37d1
7e90c55https://github.com/lazerg/query/commit/7e90c55f5108691d0b0c9cc68113ebb3264d37d1
TanStack#12283https://github.com/TanStack/query/pull/12283
TkDodohttps://github.com/TkDodo
Nov 1, 2026 https://github.com/TanStack/query/pull/12283#ref-commit-1e1caa5
https://github.com/lazerg
https://github.com/TkDodo
fix({react,preact}-query): set the observer options before subscribing (https://github.com/TanStack/query/commit/1e1caa5a32847969f7157627cd805bd8103cd873
1e1caa5https://github.com/TanStack/query/commit/1e1caa5a32847969f7157627cd805bd8103cd873
#12230https://github.com/TanStack/query/pull/12230
#12283https://github.com/TanStack/query/pull/12283
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%2F12283
Please reload this pagehttps://github.com/TanStack/query/pull/12283
useBaseQuery fetches the old query key when an tree is revealed https://github.com/TanStack/query/issues/12227
Please reload this pagehttps://github.com/TanStack/query/pull/12283
https://github.com/vkpdeveloper
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.