DEV Community


Discussion on: How does Reactivity work in Vue.js?

nerdycap007 profile image
Aman Sharma Author

Thank you :-)
Also, thank you for the suggestion of another good topic, I will surely write a post for that as well.
If any, you can tell me questions regarding this topic (Handling nested components) for which you need an in-depth explanation.

jianwu profile image

I'm a bit curious about how we handle "target" if there's a nested component. In your example, we put "target" as a global variable. That means only one target can be set at one time. But in the nested component. e.g. component A includes component B


function readnerFunctionForA() {
  // render

renderFunctionForB() {
  // Render

In that case, I want the update of will only refresh renderFunctionForB(). How can we achieve that?