Expanding on the original question, you may ask what to do if the last received data is outdated.
IMO, the data you operate with should have some lastUpdated
field with a timestamp set on the backend side.
Then, on the client, you would probably still want to merge the fetched results with real-time results resolving the duplicates with the freshest data according to the lastUpdated
timestamp.