rsnext/examples/with-graphql-react/package.json
Jayden Seric 547b4acbd8 Update the graphql-react example. (#9550)
- Updated dependencies.
- For compatibility with the current next-graphql-react API, added next.config.js using the `withGraphQLConfig` decorator.
- For compatibility with the current graphql-react API, updated the options used with `useGraphQL`.
- Updated the readme to align with the current graphql-react and next-graphql-react APIs.
- Minor destructuring refactor for clarity.
- Converted the custom App to a functional component.
2019-11-27 10:50:20 +01:00

18 lines
370 B
JSON

{
"name": "next-graphql-react-example",
"private": true,
"license": "ISC",
"dependencies": {
"cross-fetch": "^3.0.4",
"graphql-react": "^9.0.0",
"next": "latest",
"next-graphql-react": "^5.0.0",
"react": "^16.12.0",
"react-dom": "^16.12.0"
},
"scripts": {
"dev": "next",
"build": "next build",
"start": "next start"
}
}