Great and useful post! Thank you Chris. 😎
Years ago I remember I used cloneDeep: the function from lodash, but it tooks a while to understand the problem. This pointer creation when use "=" it's not widely known unfortunately.
Hey Francesco, Haven't used the deepClone often myself, what exactly happens when you use the =?
I mainly choose the JSON method or make my own deepClone specific for typecasting.