Course contentsShow
React
Lesson 740 of 2,39619. useRefPro lesson

Detecting Visibility with IntersectionObserver

Use IntersectionObserver on a ref to trigger actions when an element enters or exits the viewport.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.