Custom React Hooks: useIntersectionObserver()
Intersection Observer API lets programmers check if a DOM element is currently visible (i.e. intersecting) on the screen. It can be used to: display floating menu lazy load images perform animations detect if ads are displayed implement infinite sc...
Sep 16, 20212 min read697


