mergeProps deeply?
How deeply does merge props actually merge objects? Could I do?
where
where
props has a props myObj with the values I want to default?const merged = mergeProps(
defaultsObj: {
key1: defaultValue1,
key2: defaultValue2
},
props
)propsmyObj{
myObj:{
key1: value1,
key2: value2
}
}