2 Commits

Author SHA1 Message Date
dizel3d
ac2f54a8f6 fix(useIntersection): disconnect an old IntersectionObserver instance when the ref changes 2020-01-27 23:57:36 +03:00
Kevin Norris
d5f359f7e3 feat: useIntersection (#652)
React sensor hook that tracks the changes in the intersection of a target element with an ancestor element or with a top-level document's viewport, using the Intersection Observer API
2019-10-12 19:22:23 +11:00