rsnext/examples/with-graphql-react
Swarnava Sengupta a79d1efdd0
[Docs] Update react docs link (#47891)
- This PR fixed the  Documentation link of new react.dev website.
2023-04-04 11:56:03 -07:00
..
pages Update .now.sh to .vercel.app. (#22359) 2021-04-14 09:46:06 -05:00
.gitignore Remove incorrect entries for pnpm debug log (#47241) 2023-03-26 22:26:05 -07:00
package.json Update Examples to use React 18 (#42027) 2022-10-28 17:43:20 +00:00
README.md [Docs] Update react docs link (#47891) 2023-04-04 11:56:03 -07:00

Next.js example with graphql-react

graphql-react is a GraphQL client for React using modern context and hooks APIs that is lightweight (< 3 KB size limited) but powerful; the first Relay and Apollo alternative with server side rendering.

Deploy your own

Deploy the example using Vercel:

Deploy with Vercel

How to use

Execute create-next-app with npm, Yarn, or pnpm to bootstrap the example:

npx create-next-app --example with-graphql-react with-graphql-react-app
yarn create next-app --example with-graphql-react with-graphql-react-app
pnpm create next-app --example with-graphql-react with-graphql-react-app

Deploy it to the cloud with Vercel (Documentation).

Notes