Skip to content

Conversation

@kisk23
Copy link

@kisk23 kisk23 commented Jan 27, 2026

🎯 Changes

This PR exposes and forwards TanStack Query’s refetchOnWindowFocus, refetchOnReconnect, and networkMode options through queryCollectionOptions

steps:-
Adds the options to QueryCollectionConfig

Destructures them from config

Conditionally forwards them to QueryObserverOptions

Includes tests verifying they are applied correctly

✅ Checklist

  • [ ✔️ ] I have followed the steps in the Contributing guide.
  • [ ✔️] I have tested this code locally with pnpm test:pr.

🚀 Release Impact

  • [✔️ ] This change affects published code, and I have generated a changeset.
  • This change is docs/CI/dev-only (no release).

@changeset-bot
Copy link

changeset-bot bot commented Jan 27, 2026

🦋 Changeset detected

Latest commit: 13473d6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@tanstack/query-db-collection Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant