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:
Hi @adamsoffer
Thanks for creating
next-apollo
! I just opened a pull request to support apollo-client v3.This allows us to use
next-apollo
with 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: