lumiere.codes
lumiere.codes copied to clipboard
Infinite scroll with loading skeletons on Publications page
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 💸