Answer the question
In order to leave comments, you need to log in
Wrapper for IntersectionObserver?
Please advise a very compact and lightweight wrapper package for this wonderful API.
Note whether a polyfill or lazy load is different.
It is necessary to avoid creating new IntersectionObserver() each time its parameters and so on. then new is scattered throughout the project + code duplication for initialization and use.
Searched here , all is not right. Or which one did you miss?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question