In this implementation example, I'm using a mockup data fetch, which returns me the complete list, which I want to manually manipulate the pagination of.
For this, I needed to create two local variables:
This logic will be invoked right after the data fetching, populating the EmployeesWithPagination.
This logic will be invoked at each page change, automatically, it will change the list of the variable Employees.