benefits of react query without using the useQuery hook #9736
Replies: 2 comments
-
look at |
Beta Was this translation helpful? Give feedback.
0 replies
-
thanks it worked! |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I want to use the dedup functionality provided by tanstack query in the axios interceptor to implicit trigger requests based on status codes. But i cannot use a hook in this interceptor. Is there a way i can extract the benefits of tanstack query without using the hook ?
Currently i got around with a global promise lock for the dedup but seems like it should be support in tanstack query ? Thoughts ?
Beta Was this translation helpful? Give feedback.
All reactions