How to implement virtual scroll in Vue

Virtual scrolling renders only visible items in large lists, dramatically improving performance by reducing DOM nodes from thousands to dozens regardless of total dataset size. As the creator of CoreUI, a widely used open-source UI library, I’ve implemented virtual scrolling in data-intensive dashboards throughout my 12 years of frontend development since 2014. The most reliable approach is using vue-virtual-scroller library which handles viewport calculations, item positioning, and dynamic sizing automatically. This method provides smooth scrolling performance, supports variable item heights, and maintains accessibility without complex manual calculations.

Read More…

How to optimize large lists in Vue

Large lists cause performance issues through excessive DOM nodes, re-rendering overhead, and memory consumption when displaying thousands of items simultaneously. As the creator of CoreUI, a widely used open-source UI library, I’ve optimized large data tables and lists throughout my 12 years of frontend development since 2014. The most effective approach is combining pagination, virtual scrolling, computed property caching, and v-memo directive to minimize rendering and reactivity overhead. This method reduces DOM size, prevents unnecessary re-renders, and maintains smooth scrolling performance even with massive datasets.

Read More…
Subscribe to our newsletter
Get early information about new products, product updates and blog posts.
How to Use Bootstrap Dropdown in React the Right Way – with CoreUI
How to Use Bootstrap Dropdown in React the Right Way – with CoreUI

How to check if a string is a number in JavaScript
How to check if a string is a number in JavaScript

What is globalThis in JavaScript?
What is globalThis in JavaScript?

How to limit items in a .map loop in JavaScript
How to limit items in a .map loop in JavaScript

Answers by CoreUI Core Team