Currently, I work with a large application with React.JS and Apollo Client V3. And there is more functionality such as doing CRUD operations on each data and a chat messages functionality.
And I have difficulty dealing with in-memory cache.
Could you share some advice?
Thanks a lot for your helps, and good day to you
“difficulty” is unfortunately very unspecific - could you please go into a bit of detail, what you want to do, why you want to do it, and give some examples of problems you are facing?
Hello @lenz, thanks for your reply
My difficulty is handling/working with caching data that is stored inside inMemoryCache().
i.e., when the app grows, I lose control, especially in chat messages with load-more functionality (it works fine, but when I try to interact with caching data. I lose control and re-render some duplicate data [message] as a result).
Could you advise me, on how to manage and work easily with data caching in-memory cache? i.e. some best practices for handling/working with cache.
Thank you very much