2👍
✅
There is no reason to have the button that fetches more posts in a separate component. You can do it a bit like this: https://codepen.io/anon/pen/aVdpLb?editors=1010
addMorePosts: function(){
this.pageNumber += 1
this.range += 1
this.fetchBlogData();
}
Just have the button in the same component and then push new posts coming from the api to the array.
Source:stackexchange.com