Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/TanStack/query
/ reset
Method
reset
packages/query-core/src/query.ts:264–267 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
262
}
263
264
reset(): void {
265
this.destroy()
266
this.setState(this.#initialState)
267
}
268
269
isActive(): boolean {
270
return
this.observers.some(
Callers
7
useMutation.test.ts
File · 0.45
setupDevtools
Function · 0.45
inject-mutation.test.ts
File · 0.45
Page
Function · 0.45
resetQueries
Method · 0.45
query.test.tsx
File · 0.45
mutationObserver.test.tsx
File · 0.45
Calls
2
destroy
Method · 0.95
setState
Method · 0.95
Tested by
1
Page
Function · 0.36