MCPcopy Create free account
hub / github.com/TanStack/query / cycleFilterScope

Function cycleFilterScope

packages/query-devtools/src/Devtools.tsx:697–703  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

695 })
696
697 const cycleFilterScope = () => {
698 const index = FILTER_SCOPES.indexOf(filterScope())
699 props.setLocalStore(
700 'filterScope',
701 FILTER_SCOPES[(index + 1) % FILTER_SCOPES.length]!,
702 )
703 }
704
705 // Data changes don't change the query count, so data searches need their own trigger
706 const queryDataVersion = createSubscribeToQueryCacheBatcher(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected