Paginating a table with getStaticProps in Next.js

I am making a table in nextjs that lists vocabulary words pulled from a supabase table using getStaticProps and I want to create a table with pagination to display the data. The supabase table is very large however so I only want to pull 200 rows at a time. What is the best way to go about updating .range based on the page selected by the user?
Was this page helpful?