useQuery call using useMemo, which results in everything being called twice whenever there's a change.useMemo into a select handler and extracted the handler to a stable function reference.useQuery params change, it looks like the select handler is called twice - once with the new data, as expected, and then the second time with exactly the same data as before.select handler is not memoized and returns a new instance of an object for the same input data every time it's called, it causes an additional re-render.select handler again.https://x.com/tan_stack/status/2031128535470104577?s=20
dry-scarlet · 10h 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