DEV Community

Discussion on: React infinite scroll in few lines

Collapse
deepakfilth profile image
deepak pd

Failed to compile due to 'IntersectionObserver' is not defined no-undef.
Has anyone faced such issue?

Collapse
hunterjsbit profile image
Son Goku Author

Hmm you should not have that issue, you can check how intersectionObserver is used here:developer.mozilla.org/en-US/docs/W...

Collapse
deepakfilth profile image
deepak pd • Edited

It is now working with windows.IntersectionObserver