Very basic code for testing Apollo client for client GraphQL client with SvelteKit. There is a much more fleshed-out example in the sveltekit-graphql-github this includes a demo site. That repo also has an accompanying blog post explaining the code.