Jul 10, 2017 · 1 min read
Wow. Coming from a React, Angular 1 Background it looks fairly complicated. I would suspect a simple observable that triggers when you scroll down on a specified distance from the bottom or top of the page.
Similar to this
https://ionicframework.com/docs/api/components/infinite-scroll/InfiniteScroll/
Also some lines like:
.subscribe(() => { });are even more confusing.
While I like observables I think they can make the code harder to read sometimes.