We’re using websockets in our app to provide users with realtime updates. We’re pushing the incoming data in the store using
pushPayload. We’re also using slugs based on for instance a title, instead of integer id’s, however, this causes duplicate objects to show up once someone changes one of those titles.
I could send an extra
uid attribute or something and then search the store and delete the old record, but that seems nasty.
Has anyone else ran in to this? How did you solve it?