useQuery data is undefined when refetching #882
-
Hi, sorry if this is obvious but I find this behavior little bit annoying. When useQuery is triggered by new input data, for time it is refetched, Please let me know if you need sample code. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @tomashornak! Do you mean |
Beta Was this translation helpful? Give feedback.
Hi @tomashornak! Do you mean
data
becomesundefined
when the query key changes? Because this should be addressed in this PR: #867