setQueryData manually.setQueryData, so I set staleTime and cacheTime to Infinity. structuralSharing to false, so my component always react to data changes after manual setQueryData call, even if updated data is exactly the same as previous one.data property returned from this query still has the same reference and it doesn't trigger useEffect(..., [data]).structuralSharing as the function, so I check if it's called properly. But it never gets called.setQueryData, data from query has new reference and all works as expected.setQueryData and structuralSharing works together under the hood. I have pretty big object under this query key and I would like to make sure then structural sharing is really disabled and replaceEqualDeep never gets called for this query.https://x.com/tan_stack/status/2031128535470104577?s=20
dry-scarlet · 5h 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