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

Function queryKeyHashFn

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

Source from the content-addressed store, hash-verified

4464 let hashes = 0
4465
4466 function queryKeyHashFn(x: any) {
4467 hashes++
4468 return JSON.stringify(x)
4469 }
4470
4471 function Page() {
4472 useQuery(() => ({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected