Replies: 1 comment
-
if you use |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Whenever I call my API like so
When the client is refetching the query, the header's value is exposed.
The only solution I can think of is using api routes, and use it in the page, but it's not recommend by the core team.
Or maybe react-query isn't suitable for my case.
What is the recommended approach to this with React-Query?
Thanks in advance.
Note: I've read #2631, quite interesting, but not covering this case I think
Beta Was this translation helpful? Give feedback.
All reactions