I'm using apollo-link-state for locally storing errors, but I get the following error after clearing cache.
I've set the default value of errors to an empty array [] in apollo client configuration options.
However, after apolloClient.cache.reset() or apolloClient.store.reset(), it seems that I lose all default values, causing this error:
Any ideas how to resolve this issue?

From the docs:
So you can do something like: