DEV Community

loading...

Discussion on: The only pagination you'll ever need 1️⃣2️⃣3️⃣4️⃣5️⃣ (a React hook example)

Collapse
coconutnegro profile image
Hendra Widjaja

Do you have it in Github as source code?

Collapse
potouridisio profile image
Ioannis Potouridis Author • Edited

No, I'm afraid not. I used this logic in a private repository in a pagination component. I thought the logic could be extracted as a hook and decided to make a post about it. All the source code exists in the post though. 😉