Hi Vinod,
Pagination component is right now satisfying two counts:
I can use it with a table & list and any other markup
Managed area with render props:
Problem:
Not appropriate for table markup since buttons are also shown up as a part of table.
Q. Do I need to make Pagination a HOC?
Q. I am doing something fundamentally wrong. Please give me hints or keywords to refactor (Not the logic. I will figure out the logic). Is that fine?
Hi Vinod, Pagination component is right now satisfying two counts:
Problem:
Q. Do I need to make Pagination a HOC? Q. I am doing something fundamentally wrong. Please give me hints or keywords to refactor (Not the logic. I will figure out the logic). Is that fine?