Skip to content

Fix: calling resetQueries with an unstable filter correctly refetches the filtered queries#10704

Open
alZyad wants to merge 2 commits into
TanStack:mainfrom
alZyad:fix/refetch-unstable-predicate-queries-on-resetQueries
Open

Fix: calling resetQueries with an unstable filter correctly refetches the filtered queries#10704
alZyad wants to merge 2 commits into
TanStack:mainfrom
alZyad:fix/refetch-unstable-predicate-queries-on-resetQueries

Conversation

@alZyad
Copy link
Copy Markdown

@alZyad alZyad commented May 13, 2026

🎯 Changes

Memoize the filtered queries before resetting them, to be able to refetch them even if they have changed in between.

✅ Checklist

  • I have followed the steps in the Contributing guide.
  • I have tested this code locally with pnpm run test:pr.

🚀 Release Impact

  • This change affects published code, and I have generated a changeset.

  • This change is docs/CI/dev-only (no release).

@alZyad alZyad changed the title Fix/calling resetQueries with an unstable filter correctly refetches the filtered queries Fix: calling resetQueries with an unstable filter correctly refetches the filtered queries May 13, 2026
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