Exploring the capabilities of Vue.js, I have integrated a few refs into my current project. However, I am curious about the efficiency of calling refs in methods. Does Vue perform a DOM lookup every time a ref is called, or does it store all refs once for easy access?
Despite extensive research through documentation and Google searches, I have yet to find a definitive answer.
https://v2.vuejs.org/v2/api/#ref
For instance:
myDiv = this.$refs.myDiv
Should I manually save the ref in a variable, or is there no performance impact when repeatedly calling the same ref?