Glossary coding Term Page
Lazy Loading
Defer image or component requests until the user is about to see them.
Core Idea
Lazy loading keeps the initial payload light by waiting to fetch or render content until it intersects the viewport or a critical event fires. Modern browsers expose attributes like loading="lazy" along with observer APIs that let you trigger code at the right moment.
Why It Matters Here
Mathbong uses lazy loading as a bridge between render-function discipline and performance culture. By pairing it with IntersectionObserver demos, the series shows how UI helpers can ship fast without overwhelming the network budget.