FlatList with items. Lets call them FlatListItem.memo to memoize my Items to prevent them to re-render when the parent changes using export default memo(FlatListItem);FlatListItem in my list I have to fetch data. In a separate file I define a hook and a query function. Simplified they are looking like this:FlatListItem I will then use useGetDataQuery:FlatListItem is loaded for the first time it all works as expected.!isSuccess I can show a loading indicator and when loading is done my data is shown.FlatListItem. Again, with a loading indicator and when loaded the data should be shown.removeQueries:FlatListItem?https://x.com/tan_stack/status/2031128535470104577?s=20
dry-scarlet · 7h 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