-
Notifications
You must be signed in to change notification settings - Fork 198
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
Get rid of vue-cli-plugin-apollo as it uses Apollo Client 2 #404
Comments
There will be problems with the migration to Apollo 3 if the Composable API is used (I do not know how with Dollar Apollo). Slow loading occurs in SSR with requests in different components. If you are not interested in SSR, then this completely works, here is a simple example code in the form of a plugin (the part with SSR can be cut, it also uses |
SSR is a requirement for me, so it won't work for me, but thanks for the input. Can you elaborate on this?:
Why does this happen? And why does it only happen when the Composable API is used? |
I tried to figure it out on my own, but it didn't work out for me. That's why I created this issue. |
@fabis94 fix for slow loading is quite easy. You just need to apply the fix from this vuejs/apollo#1241, I also described how to do it here. |
@negezor vuejs/apollo#1241 fixed |
@productfrontenddeveloper Yes, I'm already using 😅 |
vue-cli-plugin-apollo relies on Apollo Client 2 which is an outdated version. Also it doesn't look like they're going to add Apollo Client 3 support anytime soon - Akryum/vue-cli-plugin-apollo#441
So maybe this dependency can be removed and Apollo Client can be initialized manually?
P.S. I tried using https://cmty.app/nuxt/issues/new?repo=apollo-module to submit this issue, but the link doesn't work due to a DNS resolution error
The text was updated successfully, but these errors were encountered: