Closed
Description
Hi, great library, I love the idea of not having to use any special structures to achieve immutable updates.
Would it be possible to also support ES6 classes when updating the object? Right now, if I have
class Hello {
constructor(world) { this.world = world }
say() { console.log(this.world) }
}
const a = new Hello("World")
and I update a
, the resulting object no longer has the same __proto__
, so I can't call say
on it, etc.
Metadata
Metadata
Assignees
Labels
No labels