Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass back isLoading to scoped-slot #218

Merged
merged 2 commits into from
May 21, 2018
Merged

Pass back isLoading to scoped-slot #218

merged 2 commits into from
May 21, 2018

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