jaydenseric / graphql-react

A GraphQL client for React using modern context and hooks APIs that is lightweight (< 4 kB) but powerful; the first Relay and Apollo alternative with server side rendering.
https://npm.im/graphql-react
MIT License
718 stars 22 forks source link

error - unhandledRejection: TypeError: Head.rewind is not a function -> can't get the official example to work #58

Closed philohelp closed 3 years ago

philohelp commented 3 years ago

Hello, I'm trying to yarn create next-app --example with-graphql-react with-graphql-react-app but with no success. I try yarn dev and then get Head.rewind was removed in next v11. Is the project compatible with next's last version ? Thanks in advance

philohelp commented 3 years ago

closing as it seems I'm on the wrong repo - this has to see with next-graphql-react, sorry.

jaydenseric commented 3 years ago

Sorry to hear it's been a bit of a confusing experience for you. I updated the Next.js example via a PR in June, but the Next.js team still haven't reviewed and merged it all these months later :(

You should have a better time if you work off the updated example in the PR:

https://github.com/vercel/next.js/pull/26435

philohelp commented 3 years ago

Fantastic, many thanks