When you need to retrieve component data, there are two ways to do so: $vm.user
and $vm.$data.user
. Both methods achieve the same result in terms of setting and retrieving data. However, the question arises as to why there are two separate ways to access the data. What distinguishes these two approaches and which one is preferable to use?