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

Function reconcile

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

Source from the content-addressed store, hash-verified

4130 queryFn: () => sleep(10).then(() => [1, 2]),
4131 select: (res) => res.map((x) => x + 1),
4132 reconcile(oldData, newData) {
4133 return reconcile(newData)(oldData)
4134 },
4135 }))
4136
4137 createEffect(() => {

Callers 2

reconcileFnFunction · 0.85
PageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected