1<script>
2 import { setContextClient, Client, cacheExchange, fetchExchange } from "@urql/svelte";
3 import PokemonList from "./PokemonList.svelte";
4
5 setContextClient(new Client({
6 url: "https://trygql.formidable.dev/graphql/basic-pokedex",
7 exchanges: [cacheExchange, fetchExchange],
8 }));
9</script>
10
11<PokemonList />