The element destroys (its reference to) the intersection observer when its count of observed elements goes to zero. There is no need to do this and is a waste in PWA or any SPA. The behavior also contributes to an issue in Firefox where observation of some elements can be lost (polyfill).
The element destroys (its reference to) the intersection observer when its count of observed elements goes to zero. There is no need to do this and is a waste in PWA or any SPA. The behavior also contributes to an issue in Firefox where observation of some elements can be lost (polyfill).