Minimizing re-renders caused by queries in the parent component of the application - TanStack