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

Method invalidateTodos

examples/lit/basic/src/main.ts:106–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104 }
105
106 private async invalidateTodos(): Promise<void> {
107 await demoQueryClient.invalidateQueries({ queryKey: todosQueries.all() })
108 }
109
110 private seedCacheOnlyTodo(): void {
111 this.cacheSeedCount += 1

Callers 1

renderMethod · 0.95

Calls 1

invalidateQueriesMethod · 0.45

Tested by

no test coverage detected