Unwanted Remoted Calls in Unwanted Views

In the home page, I am using Infinite Scroll to fetch remote data. This works fine.

But when I move to other views by selecting them in the side menu, the method for loading more data is being called. I found this as I have added console log statements in the method. The log is printed for all pages tht I go even if they don’t have any relationship for remote data.

I am not whats wrong in the code.

Can you provide a codepen of this?

Setting up a codepen would be difficult.

Please let me know if I can send you the entire project in GitHub or as attachment?

Sure. I’ll send you a message.

Thanks a lot. I can also send the details via Private Message.