@tannerlinsley.com @phry.dev any tips on how to skip suspending when I update search params in Tanstack Router which re-triggers `preloadQuery` in the `loader` that returns `queryRef` that is then read with `useReadQuery`? Wrapping `navigate` with `startTransition` doesn't seem to help 🤔
Post
Thanks for the input @tkdodo.eu 👍 We already have a custom version of `useSuspenseQuery` that handles the re-suspension issue but @phry.dev is it possible to do something similar with `useReadQuery`? Or what would be the best pattern to use Suspense with loaders that are driven by url params?
0 reposts1 like
@phry.dev I finally found the time to report an issue with a repro about this topic: github.com/apollographq... Sry for taking so long 😅
github.comHow to use `useDeferredValue` with `useReadQuery` to stop showing Suspense fallback? · Issue #12227 · apollographql/apollo-clientIssue Description Hi 👋🏻 This is a follow-up issue related to a discussion on Bluesky where I tagged @phryneas and asked a React Suspense related question. Basically the question is: how do we stop ...