Is calling functions within `queryFn` a bad design? - TanStack