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

Function queryHashSort

packages/vue-query/src/devtools/utils.ts:78–78  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

76}
77
78const queryHashSort: SortFn = (a, b) => a.queryHash.localeCompare(b.queryHash)
79
80const dateSort: SortFn = (a, b) =>
81 a.state.dataUpdatedAt < b.state.dataUpdatedAt ? 1 : -1

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected