Categories

Jan 9 in Vue.JS

Q:

When is the ‘updated’ lifecycle hook called?

1 Answer

Jan 9

The updated hook is called after reactive data is updated and the virtual DOM is re-rendered. It can be used to perform DOM related operations, however, there is no guarantee (by default) that child components would’ve rendered, though that can be ensured as well by using this.$nextTick inside the updated function

Click here to read more about Vue JS
Click here to read more about Insurance

Related questions

Madanswer
Oct 25 in Hive
Jul 13, 2019 in Regression Analysis Q&A
May 22, 2019 in Other
...