There’s not a lot more I can include in addition to the article title…. but IntersectionObserver is definitely going to be a big thing this year as the support picks up.
An excerpt from Now You See Me: How To Defer, Lazy-Load And Act With IntersectionObserver
IntersectionObserveraim at helping front-end developers improve the performance of their projects at different points. The former gives us the tool for the Real User Monitoring, while the latter is the tool, providing us with tangible performance improvement. As mentioned before, this article will take a detailed look exactly at the latter one: IntersectionObserver. In order to understand the mechanics of
IntersectionObserverin particular, we should take a look at how a generic Observer is supposed to work in the modern web.