-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
Description
Describe the bug
While upgrading to v2 I noticed that some tests broke because useQuery does no longer use the config from the provider when you prefetch.
To Reproduce
Steps to reproduce the behavior:
- Go to https://codesandbox.io/s/sweet-resonance-zu0em?file=/src/App.js
- Check the console
- See multiple logs from react-query trying to retry even though the option is set to
false
Expected behavior
Queries does not retry if option is set to false
Screenshots
N/A
Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
N/A
Additional context
N/A