timhall / svelte-apollo

Svelte integration for Apollo GraphQL
MIT License
944 stars 69 forks source link

Improve docs #130

Open Emmanuel-Melon opened 1 year ago

Emmanuel-Melon commented 1 year ago

The documentation isn't very helpful when it comes to deciding whether to create a single instance for the app or use multiple instances. It's also unclear where to set the client, and the example only covers a single page. So, if I have multiple pages, would I need to set it for each one, including +layout.svelte?

For instance, the React client lets you wrap your components in ApolloProvider instance.