Closed underoot closed 5 months ago
Maybe we can even switch to Object.assign
if we don't do a deep merge here, what do you think?
Maybe we can even switch to Object.assign if we don't do a deep merge here, what do you think?
I bet we do, i.e. for controls. We can brake backward compatibility, but I don't think that we should
Replaced
lodash.merge
withmerge-options
(based on two options recommended in deprecation notice ofdeep-assign
library). Noticed, thatlodash.merge
added ~50KB of code, which significantly increase size of bundle without proper reason for that. Now situation withmerge-options
much better:lodash.merge
50.1KBmerge-options
4.1 KBdeep-assign
1.3 KB