gatsby-starter-infinite-scroll

150
Updated Jan 21, 2021
Source
Try this starterCodeSandbox   Netlify 
Install this starter locally:
gatsby new gatsby-starter-infinite-scroll https://github.com/baobabKoodaa/gatsby-starter-infinite-scroll

Tags

Infinite Scroll, Pagination, Styling:CSS-in-JS

Description

Infinite Scroll and Pagination with 10k photos

Features

  • Infinite Scroll (default mode)
  • Pagination (fallback for users without JS)
  • Toggle between these modes in demo
  • Efficient implementation (only fetch the data that's needed, ship initial items with the page instead of fetch, etc.)

Dependencies