$chiubaca / notes / fleeting / 2022-03-03
  • First time dealing with pagination with GraphCMS and Next.js. With static pagination there are few things to consider.
    • how many items appear per route.
    • Find the max total of items upfront (this is used to figure out how many buttons and pages should be generated!)
    • all view ports need to have the same amount of items!
Edit on GitHub ✏️

Hey I'm Alex Chiu 👋. These are my notes for literally anything.

I'm using the Zettelkasten method to organise my thoughts here.

My more polished writings are published to my main blog at chiubaca.com

Follow me on: Github / X (Twitter) / Mastodon / LinkedIn