queryClient.setQueryData(...) function but I am having a problem preventing RQ from running the queryFn. When I do either queryClient.setDefaultOptions({ queries: { enabled: false } }); or queryClient.setDefaultOptions({ queries: { refetchOnMount: false } }); the onSuccess function is never executed in my components which causes them to not function correctly. This behaviour makes sense but is there a way I can make the onSuccess callback run without executing the queryFn? TLDR; don't run the queryFn but run the onSuccess function if the cache is already populated for the specific query key.https://x.com/tan_stack/status/2031128535470104577?s=20
dry-scarlet · 6h 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