Updates the page size using the provided function or value in the state.pagination.pageSize state. API Docs Guide
state.pagination.pageSize