-
-
Notifications
You must be signed in to change notification settings - Fork 521
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
Using prefetch or enabled in SSR leads to endless loading #940
Comments
Related #1001 |
This is not necessarily related to #1001. 0.5.0 also freezes in SSR if the initial value of |
Also happening on Versions Have you found any workaround? |
Any updates on this? |
@seanaye It should be solved in version v4.0.0-alpha.12, which was released 2 days ago. |
Describe the bug
Using the
prefetch
orenabled
options inuseQuery
on the server causes endless loading.To Reproduce
Steps to reproduce the behavior:
prefetch
orenabled
Expected behavior
Disabling the request before the client waits for the necessary data.
Versions
vue: 2.6.11
vue-apollo: 3.0.3
apollo-client: 2.6.8
@vue/composition-api: 0.5.0
@vue/apollo-composable: 4.0.0-alpha.7
Additional context
The problem is related to not resolved promise in
onServerPrefetch
.The text was updated successfully, but these errors were encountered: