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

Function getClientKey

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

Source from the content-addressed store, hash-verified

6
7/** @internal Builds the injection key `useQueryClient`/`VueQueryPlugin` use for a given `queryClientKey`. */
8export function getClientKey(key?: string) {
9 const suffix = key ? `:${key}` : ''
10 return `${VUE_QUERY_CLIENT}${suffix}`
11}
12
13/** @internal Copies each property from `update` onto `state`, in place, for every key already on `state`. */
14export function updateState(

Callers 2

vueQueryPlugin.tsFile · 0.90
useQueryClientFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected