Lifecycle Hooks and Template RefsLifecycle Hooks are used to manually and timely manipulate the DOM.Vue has been handling all the DOM updates for us, due to reactivity and declarative rendering.However, inevitably there will be cases where we need to manually work with the DOM.We can request a template ref - i.e. a reference to an element in the template - using the special ref attribute:A lifec..