MCPcopy Create free account
hub / github.com/TanStack/router / invoiceQueryOptions

Function invoiceQueryOptions

examples/solid/kitchen-sink-solid-query/src/main.tsx:52–56  ·  view source on GitHub ↗
(invoiceId: number)

Source from the content-addressed store, hash-verified

50 })
51
52const invoiceQueryOptions = (invoiceId: number) =>
53 queryOptions({
54 queryKey: ['invoices', invoiceId],
55 queryFn: () => fetchInvoiceById(invoiceId),
56 })
57
58const usersQueryOptions = ({
59 filterBy,

Callers 2

main.tsxFile · 0.70
InvoiceComponentFunction · 0.70

Calls 1

fetchInvoiceByIdFunction · 0.90

Tested by

no test coverage detected