[Vuejs]-The difference bewteen function ref and normal ref in vue 3

0👍

According to official docs

..the ref (normal ref) array does not guarantee the same order as the source array.

However with function ref you’ve more flexibility :

…which will be called on each component update and gives you full flexibility on where to store the element reference

Leave a comment