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

Function reconcile

packages/solid-query/src/__tests__/useQuery.test.tsx:4153–4155  ·  view source on GitHub ↗
(oldData, newData)

Source from the content-addressed store, hash-verified

4151 queryFn: () => sleep(10).then(() => [1, 2]),
4152 select: (res) => res.map((x) => x + 1),
4153 reconcile(oldData, newData) {
4154 return reconcile(newData)(oldData)
4155 },
4156 }))
4157
4158 createEffect(() => {

Callers 2

reconcileFnFunction · 0.85
PageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected