vue-virtual-scroller icon indicating copy to clipboard operation
vue-virtual-scroller copied to clipboard

fix(RecycleScroller): Introduce an item wrapper to reduce re-render

Open ishitatsuyuki opened this issue 3 years ago • 0 comments
trafficstars

When rendering a slot, Vue will act as if the slot content was expanded in-line at the <slot>'s place.

Having the slots in a v-for therefore can trigger too much rerender for the slot content, and was generally bad for performance.

Wrapping them in a component should provide some performance improvements as well as solving the hover update overhead.

ishitatsuyuki avatar Jul 25 '22 06:07 ishitatsuyuki