export const useTodos = (todoIds) => useQuery({ queryKey: ['todos', todoIds], queryFn: fetchTodos(todoIds) })const { data: todos } = useTodos([1,2,3])const { data: todos } = useTodos([3,4])todo with id 3 later on (without hitting on server, todos are cached)?export const useTodo = (todoId) => ?useTodos with a filter, but that's not going to work as query key will be [3] instead of [1,2,3] or [3,4]initialData , and merge all the todos on success?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