Refetch query not working in react router #7990
Unanswered
mrafieefard
asked this question in
Q&A
Replies: 1 comment
-
Ok I think I found the problem Is there any way I can stop it from destroy ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
I don't know is this a bug or what but I define a function name useUsers I use it in loading page ( /loading ) and it in loading page it checks if users data load or not if it load it navigate to /home page in home page I can access to users data and I can't refetch data or invalidate it
I can't use sandbox or whatever because its on telegram webapp and depends on user data
Your minimal, reproducible example
nothing
Steps to reproduce
fetching user data in other pages
Expected behavior
I want it can fetchable in every pages
How often does this bug happen?
None
Screenshots or Videos
No response
Platform
Windows - Telegram webapp
Tanstack Query adapter
react-query
TanStack Query version
5.52.3
TypeScript version
No response
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions