mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
eb24e6ffc6
Adds an example with [`graphql-react`](https://github.com/jaydenseric/graphql-react), using [`next-graphql-react`](https://github.com/jaydenseric/next-graphql-react). [`graphql-react`](https://github.com/jaydenseric/graphql-react) is a lightweight but powerful [GraphQL](https://graphql.org) client for React; the first [Relay](https://facebook.github.io/relay) and [Apollo](https://apollographql.com/docs/react) alternative with server side rendering.
19 lines
368 B
JSON
19 lines
368 B
JSON
{
|
|
"name": "next-graphql-react-example",
|
|
"private": true,
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"cross-fetch": "^3.0.0",
|
|
"graphql-react": "^6.0.0",
|
|
"next": "^7.0.0",
|
|
"next-graphql-react": "^1.0.1",
|
|
"react": "^16.6.0",
|
|
"react-dom": "^16.6.0"
|
|
},
|
|
"scripts": {
|
|
"dev": "next",
|
|
"build": "next build",
|
|
"start": "next start"
|
|
}
|
|
}
|