Closed GitProdEnv closed 5 years ago
You are absolutely right. This makes no sense :) Any way to get access to the client instance within the error functions for resetting the store?
I think because of hoisting and because the variable is used within a function, the client instance isn't undefined here.
Related: https://github.com/apollographql/apollo-link/issues/595
In client/src/index.js client is undefined? I work on a similar project but I can't get my head around this.
we reference client further below in