Does `[immer.immerable] = true` make class instances read-only?
dliebner opened this issue Β· comments
πββ Question
I have an array of immerable objects with properties that reference other objects and in part of my code I'm trying to dereference these properties (for garbage collection) by setting their value to undefined
but I'm getting a read-only type error when I try to do this. Is this being caused by immer, and is there any way around it?
Found it: https://immerjs.github.io/immer/freezing