DEV Community

[Comment from a deleted post]
Collapse
 
mvozaar profile image
mvozaar

I have spotted similar behavior, when i missed object changes. changes was done by delete_by_key. this is "mutating the state".

in original code was used spread operator to clone new object, but in removal was used delete. additions was detected, but removal not.