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

Function queryHashSort

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

Source from the content-addressed store, hash-verified

131 : 1
132
133const queryHashSort: SortFn = (a, b) => a.queryHash.localeCompare(b.queryHash)
134
135const dateSort: SortFn = (a, b) => {
136 const diff = b.state.dataUpdatedAt - a.state.dataUpdatedAt

Callers 1

utils.test.tsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected