lumiere.codes icon indicating copy to clipboard operation
lumiere.codes copied to clipboard

Infinite scroll with loading skeletons on Publications page

Open shimamooo opened this issue 3 years ago • 0 comments

Motivation

  • /press is a really, really important page. Eventually it will be our home page!
  • Infinite scroll + loading skeletons (accomplishable through SWR or react-query), will be good user experience
  • Good current implementations are Airbnb and Doordash!

How to do it?

  • Look into swr, specifically the infinite pagination api
  • Create a test repo, minimal implementation with dummy data, then get infinite pagination working
  • Copy implementation to repo with data served through ISR
  • Profit 💸

shimamooo avatar Nov 13 '21 15:11 shimamooo