Skip to content
Source
Sign inSign up
TanStack/query

feat(query-devtools): add a filter scope toggle to filter queries by query key, query data, or both #12538

Mergedschiller-manuel(GitHub profile, opens in a new tab)merged 7 commits intomain fromrefs/pull/12538/headmerged by TkDodo View on GitHub

Showing 8 changed files with 5 additions and 0 deletions (loading 7).

x
0 of 8 viewed, 8 left
5 additions and 0 deletions.changeset/query-devtools-filter-by-data.mdAdded
View file
@@ -0,0 +1,5 @@
+---
+'@tanstack/query-devtools': minor
+---
+​
+feat(query-devtools): add a filter scope toggle to filter queries and mutations by key, data (mutation variables or data), or both. Data and All scopes initialize explorer searches with the filter. Mutation explorers initialize searches only for matching variables or data, and filtering refreshes when mutation variables change in place.
packages/query-devtools/src/__tests__/Devtools.test.tsxModified
View file
Loading the diff
packages/query-devtools/src/__tests__/Explorer.test.tsxModified
View file
Loading the diff