Answer the question
In order to leave comments, you need to log in
Vue 3 How to re-render a component from another branch?
There is a simplified structure like this:
Dashboard: {
TheModal: {
TaskFormAdd
},
TheContent: {
BoardInbox: {
TaskList: {
TaskListItem
}
},
BoardToday: {
TaskList: {
TaskListItem
}
}
}
}
Answer the question
In order to leave comments, you need to log in
If for some reason you feel like manually "re-rendering" a component, you're probably doing something wrong. Vue itself manages the display of data depending on this very data. Therefore, in your case, TaskFormAdd should change the data, and TaskList should react to these changes and change the display.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question