useInfiniteQuery, on the page /documents/[category] with the query key ["documents", category]./document/[id] with the query key ["document", id]. After being edited, the document's query cache ["document", id] and any query caches matching the key ["documents"] that contain that document are invalidated.["documents", category] is correctly invalidated, however when /documents/[category] is opened, the request to that document category is sent out and instantly cancelled ^(devtools screenshot attached) so the old, unedited list of documents gets shown.queryClient.cancelQueries in the codebase. useInfiniteQuery isn't being weirdly remounted. react-queryqueryClient isn't for some reason being destroyed and recreated. react-query locally so that I might be able to put console.logs in its code to check what's happening.
https://x.com/tan_stack/status/2031128535470104577?s=20
dry-scarlet · 14h 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