How to keep reactivity of queryKey
in solidjs?
#9730
Unanswered
Reverier-Xu
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I want to wrap
useQuery
function in another function, but I found wrapped query lost the reactivity ofqueryKey
's.I have read the post of #3730 , seems it should work, but currently no. I also tried to change parameter
hello
to typeAccessor<number>
, but it does not work neither.here is the example: https://stackblitz.com/edit/tanstack-query-t8ed3kjv?file=src%2Findex.tsx&preset=node
what is the correct way to do that?
Beta Was this translation helpful? Give feedback.
All reactions