hasura / learn-graphql

Real world GraphQL tutorials for frontend developers with deadlines!
https://hasura.io/learn/
MIT License
1.18k stars 650 forks source link

Update references to @apollo/client for Svelte #954

Closed MasterCarl closed 1 year ago

MasterCarl commented 1 year ago

In newer versions of Apollo or Svelte, importing @apollo/client requires React being installed. Since this likely doesn't make sense for a Svelte app, I updated the references. See also https://github.com/apollographql/apollo-client/issues/7318

praveenweb commented 1 year ago

Hey @MasterCarl - Thanks for the PR. Yes, a few things have changed with newer versions of Apollo Client.