Does the invoke query function make use of the query cache? #4416
Unanswered
julianklumpers
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
it does not seem to work. Also the queryKey is not what i would expect if you look at what getQueryKey returns.
example:
calling the function a second time does fire a new network request although the i can see the cache data in the ReactQueryDevTools. Also setting the cache manually does not seem to work, because the queryKey does not align. for example getQueryKey(getDataQuery) return /api/rpc/getDataQuery while the ReactQueryDevTools shows that the cache is under: /getDataQuery
Beta Was this translation helpful? Give feedback.
All reactions