Replies: 3 comments 1 reply
-
Thanks. |
Beta Was this translation helpful? Give feedback.
-
on a more serious note: There's a reason why all fields are mandatory, like the reproduction one. I'll move this to a discussion because I think there's just a misunderstanding about how you think things work and how they really work, so you need to more specific with your question instead of just opening an issue with barely any information in it. What did you think that would achieve?
If you set |
Beta Was this translation helpful? Give feedback.
-
I had the same problem as him When remounting, if the data is fresh, then refetchOnMount is set to 'always' and does not refresh the data |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
As described in the title.
Your minimal, reproducible example
Steps to reproduce
Expected behavior
It should always refetch, no matter if staleTime or cacheTime is set.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
react-query version
TypeScript version
No response
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions