547b4acbd8
- 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.
18 lines
370 B
JSON
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"
|
|
}
|
|
}
|