useQuery() with listener rather than fetching - TanStack