Reading and Writing Data to the Cache
Apollo Client provides three methods for reading and writing data to the cache:
readQuery
andreadFragment
writeQuery
andwriteFragment
cache.modify
(a method ofInMemoryCache
)
Please read the “Reading and writing data to the cache” chapter on Apollo Client documentation.