Is your proposal related to a problem?
react-native does not provide an IntersectionObserver API for detecting when an UI view is in the viewport.
Describe the solution you'd like
We could provide a similar API that will ease some tasks related to our apps, like tracking product impressions in analytics. We should strive for an API as similar to IntersectionObserver on the web as possible, to allow for sharing opportunities between web and native code.
Describe alternatives you've considered
react-native-intersection-observer
Is your proposal related to a problem?
react-nativedoes not provide anIntersectionObserverAPI for detecting when an UI view is in the viewport.Describe the solution you'd like
We could provide a similar API that will ease some tasks related to our apps, like tracking product impressions in analytics. We should strive for an API as similar to
IntersectionObserveron the web as possible, to allow for sharing opportunities between web and native code.Describe alternatives you've considered
react-native-intersection-observer