Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/query
/ invalidateTodos
Method
invalidateTodos
examples/lit/basic/src/main.ts:115–117 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
113
}
114
115
private
async
invalidateTodos(): Promise<void> {
116
await
demoQueryClient.invalidateQueries({ queryKey: [
'todos'
] })
117
}
118
119
private seedCacheOnlyTodo(): void {
120
this.cacheSeedCount += 1
Callers
1
render
Method · 0.95
Calls
1
invalidateQueries
Method · 0.45
Tested by
no test coverage detected