How to call dynamic collection from client with pagination


#1

Hello,

I just make a sample app like news reader which data come from my database. But I have problem how to load data dynamically like when click load more button. The news will append in bottom of the page.

The question: how to call createContainer with different pagination and combine the current props with the new props. I’ve try call collection from inside function but return empty.

any clue? thank you
my code here : https://jsfiddle.net/7ksbv0f1/1/