You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When cachePolicy: CachePolicies.CACHE_FIRST, the response interceptor doesn't get called when the results are read from cache, ie the second time its called.
⚠️ Make a Codesandbox ⚠️
I've tweaked the useFetch + + Request/Response Interceptors demo to reproduce.
Describe the bug
When
cachePolicy: CachePolicies.CACHE_FIRST
, the response interceptor doesn't get called when the results are read from cache, ie the second time its called.I've tweaked the useFetch + + Request/Response Interceptors demo to reproduce.
https://codesandbox.io/s/usefetch-provider-requestresponse-interceptors-6zwmw
To Reproduce
Steps to reproduce the behavior:
Expected behavior
the response interceptor should be called even if the data is read from cache.
The text was updated successfully, but these errors were encountered: