MCPcopy Create free account
hub / github.com/HuolalaTech/react-query-kit / uniqueKey

Function uniqueKey

tests/utils.tsx:6–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4
5let queryKeyCount = 0
6export function uniqueKey(): string[] {
7 queryKeyCount++
8 return [`query_${queryKeyCount}`]
9}
10
11export function renderWithClient(
12 client: QueryClient,

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…