Hi Rohan,
here's the demo
Hope this makes it clear to you what is still missing in your module.
As the full list is returned, you don't even need to refresh the api fetch, you can just use a local list to display and change the bit from the fetch that you are showing.
One remark though, why exactly do you want to add pagination, as all data is immediately available, why only show it to the user in bits, there is no performance advantage ???
Dorine
Remark : it is now pointing to my published api, it works today, but as soon as i throw it away, it's broken.