This will allow you to add an object inside another object.
In other examples, you will get a replacement instead of adding . eg.
const obj1 = {
innerObj:{
name:'Bob'
},
innerOBj2:{
color:'blue'
}
}
const obj2 = {
lastName:'Some',
age:45
}
obj1.innerObj = Object.assign(obj1.innerObj,obj2);
console.log(obj1);
Run code, - , , ramda, . R.merge.