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

Function queryHashSort

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

Source from the content-addressed store, hash-verified

100 : 1
101
102const queryHashSort: SortFn = (a, b) => a.queryHash.localeCompare(b.queryHash)
103
104const dateSort: SortFn = (a, b) => {
105 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