With React#
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:
yarn install
yarn run start
# or
npm install
npm run start
This example contains:
- The
urqlbindings and a React app with a client set up insrc/App.jsx - A query for pokémon in
src/PokemonList.jsx