useQuery hook to component 2 which uses useInfiniteQueryuseQuery hook and transforms it into initialData that useInfiniteQuery expects. This works perfectly on mount. pageParams might look like this [undefined, abc123, defg123, hijk123]Each param is obviously the token that fetches the current page.useInfiniteQuery refetches due to staleness, I would want the pageParams to look exactly like this, it would fetch the current page defg123 and have those previous pageParams to fetch the previous page. search param for the page to fetch, and the data returned has the continuation token for the next page.https://x.com/tan_stack/status/2031128535470104577?s=20
dry-scarlet · 4h ago
https://x.com/powersync_/status/2010721010006552775?s=20
dry-scarlet · 2mo ago
You can now submit your website/app/project to http://TanStack.com 's new showcase and have it seen by the TanStack community! - Global showcase browser - Per-library filters - Category filters Submit here: https://tanstack.com/showcase/submit View all here: https://tanstack.com/showcase
dry-scarlet · 3mo ago