Skip to content
Source
Sign inSign up
TanStack/query

fix(solid-query): Default `reconcile` to false #6125

Mergedardeora(GitHub profile, opens in a new tab)merged 1 commit intorc fromrefs/pull/6125/headmerged by ardeora(GitHub profile, opens in a new tab) View on GitHub

Showing 3 changed files with 5 additions and 4 deletions.

x
0 of 3 viewed, 3 left
1 addition and 0 deletionspackages/solid-query/src/__tests__/createQuery.test.tsxModified
View file
@@ -1046,6 +1046,7 @@
count++
return count === 1 ? result1 : result2
+ reconcile: 'id',
createRenderEffect(() => {
2 additions and 2 deletionspackages/solid-query/src/QueryClient.tsModified
View file
@@ -30,7 +30,7 @@
* Set this to a reconciliation key to enable reconciliation between query results.
* Set this to `false` to disable reconciliation between query results.
* Set this to a function which accepts the old and new data and returns resolved data of the same type to implement custom reconciliation logic.
- * Defaults reconciliation key to `id`.
+ * Defaults reconciliation to false.
*/
reconcile?:
| string
@@ -60,7 +60,7 @@