Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/query
/ reset
Method
reset
packages/query-core/src/query.ts:269–272 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
267
}
268
269
reset(): void {
270
this.destroy()
271
this.setState(this.resetState)
272
}
273
274
isActive(): boolean {
275
return
this.observers.some(
Callers
9
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
resetDemoState
Method · 0.45
resetDemoState
Method · 0.45
Calls
2
destroy
Method · 0.95
setState
Method · 0.95
Tested by
1
Page
Function · 0.36