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

Function reconcile

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

Source from the content-addressed store, hash-verified

4071 queryFn: () => sleep(10).then(() => [1, 2]),
4072 select: (res) => res.map((x) => x + 1),
4073 reconcile(oldData, newData) {
4074 return reconcile(newData)(oldData)
4075 },
4076 }))
4077
4078 createEffect(() => {

Callers 2

reconcileFnFunction · 0.85
PageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected