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

Function queryHashSort

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

Source from the content-addressed store, hash-verified

97}
98
99const queryHashSort: SortFn = (a, b) => a.queryHash.localeCompare(b.queryHash)
100
101const dateSort: SortFn = (a, b) =>
102 a.state.dataUpdatedAt < b.state.dataUpdatedAt ? 1 : -1

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected