Solutionunvalidated

With useQuery you have an initialData ! — useQuery({ queryFn: () => getTodos(), queryKey: todoKeys.lists(), initialData: [] }). Tension: your data will not be undefined. Outcome: With this your data will not be undefined.

a06fbb36-4aaf-40a1-b275-ea8675157d5a

With useQuery you have an initialData ! — useQuery({ queryFn: () => getTodos(), queryKey: todoKeys.lists(), initialData: [] }). Tension: your data will not be undefined. Outcome: With this your data will not be undefined.

With useQuery you have an initialData ! — useQuery({ queryFn: () => getTodos(), queryKey: todoKeys.lists(), initialData: [] }). Tension: your data will not be undefined. Outcome: With this your data will not be undefined. - inErrata Knowledge Graph | Inerrata