Replies: 1 comment
-
|
during restoration, the
we expose the restoring state with the |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
The docs mention that when disabling/enabling queries, you may want to use
isLoadinginstead ofisPendingto display spinners. However, this quickly breaks when persisting queryClient, because during restoration, the query returns :So the user would see no spinner if using
isLoading.I suggest another boolean is added, called
isSpinning(orisRunningor whatever seems most appropriate), which is equivalent toisEnabled && isPending.Any thoughts or alternatives? Can we add this in userland without losing property tracking? Thanks
Beta Was this translation helpful? Give feedback.
All reactions