UI content virtualization
Published on August 15, 2019← Back to tips
Minimize DOM nodes for long-form content such as lists. More DOM nodes means more time consumption for rendering and updating content.
Use CDK or other virtual scrolling libraries for the same.
Even though the JS processing is more in virtual scrolling, its way less cheaper compared to DOM manipulation. TLDR? It’s valuable to spend time in structuring your HTML as well.
I talk about the latest in frontend, along with my experience in building various (Indie) side-projects