setQueryData . To encapsulate this behaviour, I've written a custom hook, that can be called from within a component (ie when an edit form is submitted).No QueryClient set, use QueryClientProvider to set oneQueryClientProvider wrapping my app. I'm not sure why it would be inaccessible inside the hook.useQueryClient into the custom hook, but is that the only way this can work? Other hooks like useState can be used in a custom hook, so I'm not sure what I'm doing wrong here.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