I'm playing around with Pagination using React/Meteor. By passing a limit parameter in the URL I can define the number of results that should be displayed.
FlowRouter.route('/books/:_booksLimit?', {
action() {
mount(Es6MainLayout, {
content: (<BookSearchWrapper/>)
})
}
})
However when I try and increment the limit to load more, the URL gets generated but FlowRouter does not actually reload the page. I get the feeling that I'm taking the wrong approach here. How should I trigger the URL to actually reload?
Currently this sets the URL to books/20 but the page doesn't actually reload and no additional results are displayed.
loadMore() {
FlowRouter.go('/books/20')
}
Any help appreciated!