Open juw177 opened 6 months ago
If a clonedInstance has:
{ updatedProperty: test }
originalInstance has
{ updatedProperty: null }
Calling clonedInstance.reset() or originalInstance.clone() will not reset updatedProperty back to null and it remains as "test". Is this intended?
The only way I could reset the clone is by removing it from the store and getting it again: if (instance.__isClone) { instance.removeFromStore() }
If a clonedInstance has:
{ updatedProperty: test }
originalInstance has
{ updatedProperty: null }
Calling clonedInstance.reset() or originalInstance.clone() will not reset updatedProperty back to null and it remains as "test". Is this intended?
The only way I could reset the clone is by removing it from the store and getting it again: if (instance.__isClone) { instance.removeFromStore() }