Skip to content
Discussion options

You must be logged in to vote

You are using keepPreviousData flag which changes the behavior in a way that isLoading is no longer changed, cause you have data to show. This is expected behavior.

To achieve what you want you can leverage other flags, like isPreviousData.
Ex. https://stackblitz.com/edit/vue-nes8re?file=src%2FApp.vue

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@klausXR
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by klausXR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants