diff --git a/packages/entity/list/index.js b/packages/entity/list/index.js index f620b92..78c064c 100644 --- a/packages/entity/list/index.js +++ b/packages/entity/list/index.js @@ -75,6 +75,10 @@ export class EntityList extends decorate(class {}) { entity.patchState([step]); } else { + // We got an update for an entity we've already destroyed. Discard! + if (localUuid) { + return; + } // New entity. Create with patch as traits. const newEntity = (new Entity()).fromJSON({ traits: step.value,