I\'m currently using apollo client, typescript, nextjs and codegen to make my graphql types and I would like to know how can I use the cache for global state management.