I'm not sure if this is a bug or if I'm misunderstanding how this is supposed to work.
I assumed in the following example one and two would be the same object.
const obj = { foo: 0 };
const one = immutable(obj).set('foo', 'bar').value();
// { foo: 'bar' };
const two = immutable(one).set('foo', 'bar').value();
// { foo: 'bar' };
one === two
// false
I'm not sure if this is a bug or if I'm misunderstanding how this is supposed to work.
I assumed in the following example
oneandtwowould be the same object.