setQueryData event
#4075
-
Hello! It would be desirable that after setQueryData, isLoading is updated or a new isUpdateChache parameter is introduced. Motivation: ddsa224234.mp4. |
Beta Was this translation helpful? Give feedback.
Answered by
TkDodo
Aug 26, 2022
Replies: 1 comment
-
if you are doing refetches, the query will have |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
fonderkin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
if you are doing refetches, the query will have
isFetching:true
. If you are updating withsetQueryData
, the updates are synchronous, so they will be reflected instantly. Not sure what you are doing without seeing the code