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

Function queryKeyHashFn

packages/solid-query/src/__tests__/useQuery.test.tsx:4471–4474  ·  view source on GitHub ↗
(x: any)

Source from the content-addressed store, hash-verified

4469 let hashes = 0
4470
4471 function queryKeyHashFn(x: any) {
4472 hashes++
4473 return JSON.stringify(x)
4474 }
4475
4476 function Page() {
4477 useQuery(() => ({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected