Angular Performance Optimization - Virtual Scroll
This is the third blog post dedicated to Angular performance optimizations.
In the previous one we saw how to set the ChangeDetectionStrategy
of a component to improve the performances of a simple web application that displays a list of 100000 books (a simple component that shows a title and an author).
ChangeDetectionStrategy.OnPush
strategy doubled the performances of said application, but there is still room for improvement.
Indeed, rendering this many elements can be slow in any web browser.
So the subject of the current blog post is how to use virtual-scrolling to improve the performances of an Angular application?