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

Make Apollo npm independent #3

Merged
merged 5 commits into from May 25, 2023

Conversation

StorytellerCZ
Copy link

Remove @apollo/client npm package from the package and have it be installed by users themselves. This takes care of duplication when you have the npm package installed in your app which then duplicates it in the app bundle. Removing it and having it up to the app to add Apollo client reduces the bundle and we don't have to worry about constantly updating it to stay up with the latest Apollo version.

@StorytellerCZ
Copy link
Author

@Grubba27 here is my proposal to remove @apollo/client npm package from the apollo package for bundle size optimization and keeping things up to date.

@Grubba27
Copy link

I would approve it, but before that, I would like some kind of heads up in the community, maybe a community post to get people opinions on it

@StorytellerCZ
Copy link
Author

@Grubba27 on it. Writing a dev.to article on it. Also the major version push will not allow update unless done manually.

@Grubba27
Copy link

Oh got it. Yeah, the foruns would be a nice place to discuss this

@StorytellerCZ
Copy link
Author

@Grubba27 done.

@StorytellerCZ
Copy link
Author

@Grubba27 I think that at his point we can merge this.

@Grubba27 Grubba27 merged commit 3ee24be into meteor:master May 25, 2023
2 checks passed
@StorytellerCZ StorytellerCZ deleted the feature/apollo-outside branch May 25, 2023 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants