Open BrandonRomano opened 8 years ago
@roideuniverse actually came up with a really awesome pattern to handle this case.
In short: if the user requests 10 models on the client side, actually fetch 11 from the API, but only display 10. If the 11th exists, then there's a next page.
@roideuniverse actually came up with a really awesome pattern to handle this case.
In short: if the user requests 10 models on the client side, actually fetch 11 from the API, but only display 10. If the 11th exists, then there's a next page.