Black Friday: 50% off yearlyEnds November 29

See pricing →

This lesson is for members

Already a member? Sign in to watch.

Update Messages Cache

Next

9:07Captions in 6 languages

A developer refactors chat application code to correctly update the Apollo Client cache after creating new messages. After identifying an issue where generic cache modification affects multiple chat instances, they implement readQuery and writeQuery methods to target specific message caches based on chat IDs, ensuring data integrity within the UI.

Chapters