Replies: 4 comments
-
|
I am a bit confused on this one as well. It's never changing for me (I am not making any queries so far, only mutations). |
Beta Was this translation helpful? Give feedback.
-
|
With the ApolloQuery component, whenever the |
Beta Was this translation helpful? Give feedback.
-
|
The network status change notification may have been fixed recently: |
Beta Was this translation helpful? Give feedback.
-
|
I'm using nuxt and this.$apollo.loading is always false. Never changes during anything. ANd ive tried every cache setting there is i think. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
There seem to be two different loading states that are not connected, unless I am misunderstanding something. When a query result is received, the
resultfunction is called with the data and a loading argument. I have not seen that ever set to true, because by the time the result function is called, its no longer loading. However, there is also the functionwatchLoadingwhich is called immediately, and passed the loading state, which is initially true, and called again when the result is received, with false. The$apollo.loadingproperty seems to be using that as well. The ApolloQuery component passes back a loading prop back, which comes from the result function, not thewatchLoadingfunction, which is called after the result is received. If anyone can help me understand this, it would be appreciated.Beta Was this translation helpful? Give feedback.
All reactions