-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Description
Describe the bug
refetch always forces a XHR query even if data is not stale
To Reproduce
https://codesandbox.io/s/flamboyant-browser-42fgy?file=/src/index.js
If you click on the button, it'll cause the useQuery to refetch and send an XHR query in the browser
Expected behavior
I'd expect the cached data to be used in this case
Desktop (please complete the following information):
- OS: [OS X]
- Browser: [chrome]
- Version: [Version 85]
drostano
Metadata
Metadata
Assignees
Labels
No labels