Could e.g. md5 the JSON of all notes sorted by createdAt, mapped to objects with only _id and updatedAt on the server, send that along with every request for updated entities and after merging the changes the client could calculate the hash locally and notify the user if it mismatches to allow refetching
Could e.g.
md5
the JSON of all notes sorted bycreatedAt
, mapped to objects with only_id
andupdatedAt
on the server, send that along with every request for updated entities and after merging the changes the client could calculate the hash locally and notify the user if it mismatches to allow refetching