Back to Urql

With React

examples/with-react/README.md

1.8.21.0 KB
Original Source

With React

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

This example shows urql in use with React, as explained on the "React/Preact" page of the "Basics" documentation.

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

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

This example contains: