DEV Community 👩‍💻👨‍💻

Discussion on: Intersection Observer using React

zygiss22 profile image
Zygimantas Sniurevicius Author • Edited on

yes, you asumed correctly the parent component needs the IO and what we get there is the entire element's size of the component including the items inside or whatever we want to have there, we dont need to add to each item a ref.

Thanks for reading it!