I'm storing dynamic values in Akita store without creating a Model.
I'm trying to add a object to the existing array from store, I'm new to akita so tried deep cloning of akita store values and then pushed that object to the array and set the changed array to the store again, but it's duplicating the values in store
updatestore(data) {
var _res = _.cloneDeep(this.GetState());
_res[1].geography.data.push(data);
this.gStore.destroy();
this.gStore.set(_res);
this.GetState();
}
I reproduced it in stackblitz