DEV Community

Discussion on: 24 modern ES6 code snippets to solve practical JS problems

Collapse
 
3zzy profile image
Ibrahim Ezzy

To to check if the element specified is visible in the viewport, IntersectionObserver is more performant and available in all major browsers.

Collapse
 
madza profile image
Madza • Edited

Thanks for your feed. Checked in caniuse and the support is better than i expected :)