glass-easel
glass-easel copied to clipboard
Remove `dataDeepCopy` and `propertyPassingDeepCopy` in favor of non-copy-setData
Currently these two component options are used to control whether the data should be copied while templating. It is component-level options, but it is more practical to control the deep copy strategies of each data field.
We want to remove them in faver of some advanced data update methods.
General API design:
- add an extra argument for
replaceDataOnPath
andspliceArrayDataOnPath
for theDeepCopyStrategy
; - add a new method
updateAtomicData
to set fields withDeepCopyStrategy.None
.