adamsoffer/next-apollo

New release: apollo-client v3

Closed this issue · 1 comments

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:

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