The right way to fetch and cache with react query - TanStack