DO YOU KNOW? Infinite scroll can be implemented in two ways in react if you're not considering the third party libraries. 1. attaching the scroll event listener and calculation the window offset.
1
0
2
133
1
2. by using the browser api intersection observer that sits and observes the sentinel div if it is visible on the view port or not.