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

Function getClientKey

packages/vue-query/src/utils.ts:16–19  ·  view source on GitHub ↗
(key?: string)

Source from the content-addressed store, hash-verified

14 * @returns The injection key.
15 */
16export function getClientKey(key?: string) {
17 const suffix = key ? `:${key}` : ''
18 return `${VUE_QUERY_CLIENT}${suffix}`
19}
20
21/**
22 * Copies each property from `update` onto `state`, in place, for every key already on `state`.

Callers 2

vueQueryPlugin.tsFile · 0.90
useQueryClientFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected