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

New release: apollo-client v3 #78

Closed
qathom opened this issue Aug 3, 2020 · 1 comment
Closed

New release: apollo-client v3 #78

qathom opened this issue Aug 3, 2020 · 1 comment

Comments

@qathom
Copy link
Contributor

qathom commented Aug 3, 2020

Hi @adamsoffer

Thanks for creating next-apollo!
I just opened a pull request to support apollo-client v3.

This allows us to use next-apollowith this new release and avoid this kind of error:

Module not found: Error: Can't resolve '@apollo/react-ssr' in '/Users/ameizoso/Workspaces/Logitech/etail-platform/node_modules/next-apollo/dist'

React Apollo’s SSR utilities (like getDataFromTree, getMarkupFromTree, and renderToStringWithData) are included in the @apollo/client package. Access them via @apollo/client/react/ssr:

@adamsoffer
Copy link
Owner

PR merged and v5.0.0 published! Thanks @qathom !

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

No branches or pull requests

2 participants