Like instagram feed autoplay when in view, I would like to understand where the scroll and inview logic will be.
I have this setup:
<ContentList>
<Item>
<Item>
<Item>
<Item>
</ContentList>
I have window scroll added to ContentList when it mounts. I dont know if thats a good idea because I dont have direct references to Item's dom to know when it is inside viewport.
Whats the best way to approach this?