I'm using react apollo/client useQuery in my code as follows
const {data, loading,error} = useQuery(getCustomerCompareList, {
skip: !isSignedIn,
fetchPolicy: "network-only",
nextFetchPolicy:"network-only"
});
But I get the cached data.New data is only loaded when page is reloaded.How can I solve this to get real data.Please help
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…