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

Function queryKeyHashFn

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

Source from the content-addressed store, hash-verified

4409 let hashes = 0
4410
4411 function queryKeyHashFn(x: any) {
4412 hashes++
4413 return JSON.stringify(x)
4414 }
4415
4416 function Page() {
4417 useQuery(() => ({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected