So, as we know, the differences between Shallow Copy to Deep Copy is: shallow copy
a=5;
b=a; // b point to a's address in the memory. if a changes, b changes.
deep copy
a=5;
b=a; // b holds the actual value 5. if a changes, b remains the same.
Cool, now, my question is: Does passing states as props to children consider to be 'deep' copy or 'shallow' copy?
I tend to think it is a deep copy, and then another question raises - isn't that wasteful in resources?
Cheers!