Fanis Despoudis
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.

    Fanis Despoudis

    Written by

    Senior Software Engineer @teckro, Experienced mentor @codeinstitute, @hack.hands, Technical Writer @fixate.io Tweet me at @nerdokto.

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade