Infinite scroll API for the load function assumes that a page parameter is needed to load the next page but there are times when the next page URL is being generated from the current page request with no parameters given.
e.g
request.get('url.com/items')
returns:
{
"data": [],
"next_page": "url.com/3df89"
}
Infinite-scroll component should support such cases and load the next page from the response.