Skip to content
Source
Sign inSign up
TanStack/db

docs: anchor RC migration guidance to DB 0.9.2 #2295

MergedKyleAMathewsmerged 3 commits intomain fromrefs/pull/2295/headmerged by KyleAMathews

Showing 6 changed files with 6 additions and 10 deletions (loading 3).

x
0 of 6 viewed, 6 left
1 addition and 2 deletionsdocs/collections/query-collection.mdModified
View file
@@ -871,8 +871,7 @@
Collections use `QueryObserver`, so `queryFn` receives
`meta.loadSubsetOptions`, not `pageParam`.
​
-The previously ignored `getNextPageParam` option has been removed. Delete it
-from your hook config; passing it at runtime now throws a clear error.
+`getNextPageParam` is not supported; passing it at runtime throws an error.
`initialPageParam` labels result pages only. It does not set a remote offset
or server cursor.
​
1 addition and 1 deletiondocs/framework/react/overview.mdModified
View file
@@ -182,7 +182,7 @@
`fetchNextPage()` returns a promise that resolves after the page request settles. A failed page load does not reject the promise or change `status`; it appears as a request error in the returned `health` tree.
​
This hook widens an ordered live query; it is not TanStack Query's
-`useInfiniteQuery`. `getNextPageParam` was previously ignored and is now rejected.
+`useInfiniteQuery`. `getNextPageParam` is not supported.
`initialPageParam` only labels the returned pages; it does not set a server cursor
or skip remote rows. For server pagination, use an on-demand Query Collection
whose `queryFn` fulfills `meta.loadSubsetOptions`. See the