DEV Community 👩‍💻👨‍💻

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

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.

madza profile image
Madza Author • Edited on

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