Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

hashKey.md

25 lines396 Bytes

Function: hashKey()

function hashKey(queryKey): string;

Defined in: packages/query-core/src/utils.ts:227

Default query & mutation keys hash function. Hashes the value into a stable hash.

Parameters

queryKey

readonly unknown[]

Returns

string