I have on search page where we have search box so when typing continue then it is sending multiple requests for each type. I used debounce to handle this so my request is reduced but now I need to cancel the request which is pending and only the latest should be there
I tried a few methods but it is not working for me.
Apollo client Version - 3.3.21
React version - 17.0.2
React-dom version - 17.0.2
Node - 16
The method which I tried
MiddlewarecancelRequest.ts.WatchquerywithqueryDeduplication: false