Is it necessary for Vue to use element delegates in v-for?

  1. is it necessary to use element delegates when there are multiple items in the v-for loop?
  2. how does vue handle itself?
  3. what is the principle?
Jan.20,2022
There are two callback functions in

vue:
one is Vue.nextTick (callback) . When the data is changed, the callback is executed after updating.
the other is Vue.$nextTick (callback) , the callback that is executed when the dom is changed.


  • scenarios with a large number of list items or performance pursuit (such as mobile) should use
  • vue itself will not automatically handle event delegates for you, but will only help you complete event-related bind operations
Menu