DEV Community

loading...

Discussion on: Setting up Apollo GraphQL in Next.js with Server Side Rendering.

Collapse
ericburel profile image
Eric Burel

Hi, does it actually server render? My apollo cache seems empty after this setup, like described in the old issue from react-apollo-hooks: github.com/trojanowski/react-apoll...
So the page will be rendered in loading mode systematically with this approach.

For instance, what apolloClient.cache.extract() displays on your app?

Collapse
xetera profile image
Xetera

Yeah I don't think this is actually doing server side rendering, I tried github.com/adamsoffer/next-apollo-... instead and it worked