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

Integrate with new @apollo/react-hooks #37

Closed
adamsoffer opened this issue May 17, 2019 · 3 comments
Closed

Integrate with new @apollo/react-hooks #37

adamsoffer opened this issue May 17, 2019 · 3 comments

Comments

@adamsoffer
Copy link
Owner

No description provided.

@adamsoffer
Copy link
Owner Author

adamsoffer commented Jun 1, 2019

If anyone is interested, you can now use apollo hooks with this library :) npm install --save next-apollo@beta

@DavoCg
Copy link

DavoCg commented Jun 10, 2019

Hi @adamsoffer I give a try to next-apollo@beta and I have this error Cannot read property 'apollo' of undefined and I think it comes from here :

this.props.serverState.apollo.data

I'll continue trying to make it works.

I could be interesting to have a working example with next-apollo@beta and @apollo/react-hooks

@adamsoffer
Copy link
Owner Author

Hey @DavoCg - I actually just updated the next-apollo-example repo to use next-apollo@beta if you wanna have a look there :)

https://github.com/adamsoffer/next-apollo-example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants