adamsoffer / next-apollo

React higher-order component for integrating Apollo Client with Next.js
MIT License
482 stars 64 forks source link

Next v8+ breaks Data Prefetching #26

Closed adamsoffer closed 4 years ago

resdevd commented 5 years ago

@adamsoffer Thanks for your amazing work. I'm just learning graphql with a next & react personal project. I'm having issues with Nextjs withApollo example. I'd like to try your next-apollo approach. however I'm just curious if this bug impacts the core functioning? Or if it just affects some other functionality other than core graphql fetching. Thanks

adamsoffer commented 5 years ago

Thanks @resdevd ! I just double checked and seems as though using this with v8.0 breaks ~SSR~ data prefetching but doesn't impact anything else. I'll investigate as soon as I'm able.

resdevd commented 5 years ago

@adamsoffer Thank you. Once again appreciate your library with next and apollo.

samuelcastro commented 4 years ago

Any update on this?

flippidippi commented 4 years ago

Has anyone gotten this to work?

mstn commented 4 years ago

@adamsoffer I do not know if it is related, but is it possible to use the apollo client in getStaticPaths?

adamsoffer commented 4 years ago

Removed support for data prefetching in light of all the great work Next has done with incremental static builds.