Skip to content

Conversation

Ben52
Copy link
Contributor

@Ben52 Ben52 commented Feb 20, 2018

Right now loading is only set when a result is received, not when the request is sent. Using watchLoading, we can pass the loading state from when the request is sent.

Right now `loading` is only set when a result is received, not when the request is sent. Using `watchLoading`, we can pass the loading state from when the request is sent.
@Ben52
Copy link
Contributor Author

Ben52 commented Feb 20, 2018

see #217

We can simply use the $apolloData.loading property to get the current loading state of the query.
@Akryum Akryum merged commit c8f9f30 into vuejs:master May 21, 2018
@Akryum
Copy link
Member

Akryum commented May 21, 2018

Thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants