Closed
Description
I'm in the middle of writing a client for AWS DynamoDB. One of the problems is that the DB uses cursor-based pagination (is that what it's called?)
I'm using a custom reducer to keep track of the previous + next keys, but I need a way to pass those from the <Pagination/>
component to the client.
At first I thought it would be a good idea to allow the page param to be an object, but that got messy quickly. there are several places where it's assumed to be an integer.
However, filters can be objects and maybe that's a better fit anyway. What do you guys thinking about exposing setFilters
to the <Pagination/>
component?
It's working great for me and I have a PR lined up to submit.