@tanstack/solid-query 5.0.0-rc.5 → 5.0.0-rc.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/solid-query",
|
|
3
|
-
"version": "5.0.0-rc.
|
|
3
|
+
"version": "5.0.0-rc.6",
|
|
4
4
|
"description": "Primitives for managing, caching and syncing asynchronous and remote data in Solid",
|
|
5
5
|
"author": "tannerlinsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
],
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"solid-js": "^1.7.8",
|
|
51
|
-
"@tanstack/query-core": "5.0.0-rc.
|
|
51
|
+
"@tanstack/query-core": "5.0.0-rc.6"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"tsup-preset-solid": "^2.0.1",
|
|
@@ -5711,11 +5711,11 @@ describe('createQuery', () => {
|
|
|
5711
5711
|
<div>data: {state.data}</div>
|
|
5712
5712
|
<div>dataUpdatedAt: {state.dataUpdatedAt}</div>
|
|
5713
5713
|
<button
|
|
5714
|
-
onClick={() =>
|
|
5714
|
+
onClick={() => {
|
|
5715
5715
|
queryClient.setQueryData(key, 'newData', {
|
|
5716
5716
|
updatedAt: 100,
|
|
5717
5717
|
})
|
|
5718
|
-
}
|
|
5718
|
+
}}
|
|
5719
5719
|
>
|
|
5720
5720
|
setQueryData
|
|
5721
5721
|
</button>
|