Fix GraphQL Hooks Example Safari bug (#14205)

Fixes #14187, where the [GraphQL Hooks Example](https://github.com/vercel/next.js/tree/canary/examples/with-graphql-hooks), when opened in Safari, doesn't respond to events in production and doesn't load at all in the dev server.

This is caused by [a bug in graphql-hooks-memcache@1.3.2](https://github.com/nearform/graphql-hooks/issues/496), which they've fixed but haven't released the fix yet. So this example fix just temporarily downgrades graphql-hooks-memcache by changing its version range to `1.3.1 || ^1.3.3`.
This commit is contained in:
Ty Mick 2020-06-16 04:33:57 -04:00 committed by GitHub
parent 8cfa51878a
commit 725376a9d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@
"license": "ISC",
"dependencies": {
"graphql-hooks": "^4.4.4",
"graphql-hooks-memcache": "^1.3.2",
"graphql-hooks-memcache": "1.3.1 || ^1.3.3",
"next": "latest",
"prop-types": "^15.7.2",
"react": "^16.8.2",