-
-
Notifications
You must be signed in to change notification settings - Fork 515
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
@vue/apollo-option fails during ssr #1424
Comments
Thanks for providing a solution. Would be great to have it fixed soon. |
I got the same issue in my project and looking forward to a fix soon. |
We had similar issues, looking forward to the fix. |
As you said, after upgrading to Nuxt 3.1.0 (Vite4), I encountered the error in production build Nevertheless, it seems that direct rewriting to Therefore, regarding the patch about clearing Apollo to prevent memory leaks, I suppose we should use another permanent approach. |
Describe the bug
When @vue/apollo-option mixin is being called on the server the patching of the render function fails as
the code of the library refers to the vue render function incorrectly. During ssr the render function of a vue
component is called "ssrRender" rather than "render".
Problematic code piece
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The patching of the cleanup function should not fail.
Versions
vue: 3.2.37
vue-apollo: 4.0.0-alpha.20
@apollo/client: 3.6.9
The text was updated successfully, but these errors were encountered: