MCPcopy Index your code
hub / github.com/TanStack/query / getSelectorA

Function getSelectorA

packages/solid-query/src/__tests__/useQueries.test.tsx:574–574  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

572 }
573 type SelectorA = (data: number) => [number, string]
574 const getSelectorA = (): SelectorA => (data) => [data, data.toString()]
575
576 type QueryKeyB = ['queryB', string]
577 const getQueryKeyB = (id: string): QueryKeyB => ['queryB', id]

Callers 1

PageFunction · 0.70

Calls 1

toStringMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…