René's URL Explorer Experiment


Title: preserve error state on added message by racheltcp · Pull Request #12563 · TanStack/query · GitHub

Open Graph Title: preserve error state on added message by racheltcp · Pull Request #12563 · TanStack/query

X Title: preserve error state on added message by racheltcp · Pull Request #12563 · 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. - preserve error state on added message by racheltcp · Pull Request #12563 · TanStack/query

Open Graph Description: The broadcast client was overwriting an existing query's error state when another tab sent an added message. I changed the condition to only update queries that are still pending. I also added ...

X Description: The broadcast client was overwriting an existing query's error state when another tab sent an added message. I changed the condition to only update queries that are still pending. I also ad...

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

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:95e1c225-9f26-387d-4c1f-977aed2ec02b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE184:3552AC:352EAB:49B7E0:6AF9ADA3
html-safe-noncea1382d2277c79a6cbbb150d489b5127cf9a28fb51ef8440ce64b5d095a7c747a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTg0OjM1NTJBQzozNTJFQUI6NDlCN0UwOjZBRjlBREEzIiwidmlzaXRvcl9pZCI6Ijg1NDkwNDM5OTY4NzU5MjY5NDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac114ee685a07ebcb04da4ebd928988a7a08c2e91457fb64e56f6e3d048223f51d
hovercard-subject-tagpull_request:5215725126
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/12563/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f9e50aa04415226b7c51259ca7704e2bbe4a0a6efbb80ed4825dfd491e23da29/TanStack/query/pull/12563
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f9e50aa04415226b7c51259ca7704e2bbe4a0a6efbb80ed4825dfd491e23da29/TanStack/query/pull/12563
og:image:altThe broadcast client was overwriting an existing query's error state when another tab sent an added message. I changed the condition to only update queries that are still pending. I also added ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameracheltcp
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-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/TanStack/query/pull/12563#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTanStack%2Fquery%2Fpull%2F12563
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%2F12563
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/12563
Reloadhttps://github.com/TanStack/query/pull/12563
Reloadhttps://github.com/TanStack/query/pull/12563
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
racheltcphttps://github.com/racheltcp
TanStack:mainhttps://github.com/TanStack/query/tree/main
racheltcp:fix/broadcast-error-statehttps://github.com/racheltcp/query/tree/fix/broadcast-error-state
Conversationhttps://github.com/TanStack/query/pull/12563
Commits1 (1)https://github.com/TanStack/query/pull/12563/commits
Checkshttps://github.com/TanStack/query/pull/12563/checks
Files changedhttps://github.com/TanStack/query/pull/12563/files
preserve error state on added messagehttps://github.com/TanStack/query/pull/12563#top
racheltcphttps://github.com/racheltcp
TanStack:mainhttps://github.com/TanStack/query/tree/main
racheltcp:fix/broadcast-error-statehttps://github.com/racheltcp/query/tree/fix/broadcast-error-state
https://github.com/racheltcp
racheltcphttps://github.com/racheltcp
Nov 8, 2026https://github.com/TanStack/query/pull/12563#issue-6276356674
Please reload this pagehttps://github.com/TanStack/query/pull/12563
#12213https://github.com/TanStack/query/issues/12213
Please reload this pagehttps://github.com/TanStack/query/pull/12563
https://github.com/racheltcp
fix(query-broadcast-client): preserve error state on added messagehttps://github.com/TanStack/query/pull/12563/commits/842ffe9903b730ae9f1e79ed5951c4b93b8eea82
842ffe9https://github.com/TanStack/query/pull/12563/commits/842ffe9903b730ae9f1e79ed5951c4b93b8eea82
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Nov 8, 2026https://github.com/TanStack/query/pull/12563#issuecomment-6727994284
842ffe9https://github.com/TanStack/query/commit/842ffe9903b730ae9f1e79ed5951c4b93b8eea82
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/racheltcp/query/new/fix/broadcast-error-state?filename=.changeset/odd-buckets-beam.md&value=---%0A%22%40tanstack%2Fquery-broadcast-client-experimental%22%3A%20patch%0A---%0A%0Apreserve%20error%20state%20on%20added%20message%0A
Please reload this pagehttps://github.com/TanStack/query/pull/12563
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Nov 8, 2026https://github.com/TanStack/query/pull/12563#issuecomment-6728015645
Please reload this pagehttps://github.com/TanStack/query/pull/12563
https://app.coderabbit.ai/change-stack/TanStack/query/pull/12563?scope=ghh_OusAJGA4HG8ljoOV0wJvVx8NmnZIjc2DdjmxOu0xZWA&cs_source=review_comment
https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667
https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667
https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667
https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667
8f6da1ehttps://github.com/TanStack/query/commit/8f6da1e2a1b5e9afd774cd12bd3865df5c432984
https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667
8f6da1ehttps://github.com/TanStack/query/commit/8f6da1e2a1b5e9afd774cd12bd3865df5c432984
CodeRabbithttps://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=TanStack/query&utm_content=12563
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/12563
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Nov 8, 2026 https://github.com/TanStack/query/pull/12563#pullrequestreview-5819966048
View reviewed changes https://github.com/TanStack/query/pull/12563/files/842ffe9903b730ae9f1e79ed5951c4b93b8eea82
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/TanStack/query/pull/12563#pullrequestreview-5819966048
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
TanStack/queryhttps://github.com/TanStack/query
mainhttps://github.com/TanStack/query/tree/main
.coderabbit.yamlhttps://github.com/TanStack/query/blob/8f6da1e2a1b5e9afd774cd12bd3865df5c432984/.coderabbit.yaml
8f6da1ehttps://github.com/TanStack/query/commit/8f6da1e2a1b5e9afd774cd12bd3865df5c432984
8f6da1ehttps://github.com/TanStack/query/commit/8f6da1e2a1b5e9afd774cd12bd3865df5c432984
842ffe9https://github.com/TanStack/query/commit/842ffe9903b730ae9f1e79ed5951c4b93b8eea82
Please reload this pagehttps://github.com/TanStack/query/pull/12563
packages/query-broadcast-client-experimental/src/index.tshttps://github.com/TanStack/query/pull/12563/files/842ffe9903b730ae9f1e79ed5951c4b93b8eea82#diff-517546f0e239b6b6f758f897e22754b92e312ccf96bead0904bbe73b0b215006
coderabbitaihttps://github.com/apps/coderabbitai
Nov 8, 2026https://github.com/TanStack/query/pull/12563#discussion_r4508075693
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/TanStack/query/pull/12563
packages/query-broadcast-client-experimental/src/index.tshttps://github.com/TanStack/query/pull/12563/files/842ffe9903b730ae9f1e79ed5951c4b93b8eea82#diff-517546f0e239b6b6f758f897e22754b92e312ccf96bead0904bbe73b0b215006
coderabbitaihttps://github.com/apps/coderabbitai
Nov 8, 2026https://github.com/TanStack/query/pull/12563#discussion_r4508075698
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/TanStack/query/pull/12563
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%2F12563
https://github.com/apps/coderabbitai
coderabbitai[bot] https://github.com/apps/coderabbitai
https://github.com/TanStack/query/pull/12563/files/842ffe9903b730ae9f1e79ed5951c4b93b8eea82
Please reload this pagehttps://github.com/TanStack/query/pull/12563
[query-broadcast-client-experimental] broadcastQueryClient: an added event overwrites a receiving query that has no data (e.g. in error) with the sender's empty state https://github.com/TanStack/query/issues/12213
Please reload this pagehttps://github.com/TanStack/query/pull/12563
https://github.com/racheltcp
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.