Skip to content

Commit

Permalink
Fix GraphQL Hooks Example Safari bug (#14205)
Browse files Browse the repository at this point in the history
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 [email protected]](nearform/graphql-hooks#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`.
  • Loading branch information
TyMick authored Jun 16, 2020
1 parent 8cfa518 commit 725376a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/with-graphql-hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 725376a

Please sign in to comment.