TanStackT
TanStack3y ago
2 replies
wet-aqua

Using the exact useQuery() hook multiple times in sibling components.

Is it fine to call the exact same useQuery() hook in multiple sibling React components ? Or is it a bad practice and I should call useQuery() only once at the parent component and pass the data into the children components ?
Was this page helpful?