Back to Urql

With Next.js

examples/with-next/README.md

1.8.2901 B
Original Source

With Next.js

<p> <a href="https://stackblitz.com/github/urql-graphql/urql/tree/main/examples/with-next"> </a> <a href="https://codesandbox.io/p/sandbox/github/urql-graphql/urql/tree/main/examples/with-next"> </a> </p>

This example shows next-urql and urql in use with Next.js as explained in the "Next.js" section on the "Server-side Rendering" docs page.

To run this example install dependencies and run the start script:

sh
yarn install
yarn run start
# or
npm install
npm run start