It's functional, I was referring to Typescript you were talking about types.
I don't quite understand what you write this above comment. I just mean that this is not fully implemented pagination, because it's missing fundamental features. So it can't be used in any real projects. You need to implement the thing yourself if you want to have something that is a full pagination. Also this will not work with any language because it's like half of the implementation.
Added two issues. I may contribute if the issue is not fixed when I will need pagination since I will need something like this in the near future for my application.
I don't quite understand what you write this above comment. I just mean that this is not fully implemented pagination, because it's missing fundamental features. So it can't be used in any real projects. You need to implement the thing yourself if you want to have something that is a full pagination. Also this will not work with any language because it's like half of the implementation.
Sorry I thought I replied to another comment, could you list out these features, so I improve this React hook
You are also free to make contributions to the repo
Added two issues. I may contribute if the issue is not fixed when I will need pagination since I will need something like this in the near future for my application.
👍🏽