EddyVinck/sapper-graphql-template

Fix or replace `svelte-apollo`

Opened this issue · 0 comments

While working on #16 I noticed that I keep running into problems with svelte-apollo.

Some problems:

  • having to do workarounds such as the one for this.fetch.
  • meQuery.refetch() hits the backend but does not update the cache.
  • There is also a lot of boilerplate code required for svelte-apollo.

Take a look at @urql/svelte:

graphql-gun could also be something worth looking into https://github.com/brysgo/graphql-gun