updateCacheData for specific user only

Viewed 8

updateCachedData((draft) => { draft = response; }

I'm using updateCachedData function and through this function i'm updating my cached but problem is when it update cache all the users listen it. But I want to update a specific user only.like sender person and receiver person.

I'm using updateCachedData function within socket.on function and JSON server for API

0 Answers
Related