Lazy Loading
Lazy loading is a technique for lowering memory consumption and, possibly, processing time. This technique delays the loading of data until the moment when it's actually needed in the UI. For example, if you have a Grid component with, say 10,000 rows, only a bunch of them are visible at a given time. Loading the full set of 10,000 rows might be a waste of resources. The idea behind lazy loading is the same as the behavior of a lazy person: if you delay doing something until the last moment, you will end up saving time if, for some reason, it turns out that you don't have to do the task anymore. It's the same in a web application. For example, if a user leaves certain views without scrolling through the data, the application ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access