In the demo, we’ll load a set of posts as static HTML created during the site build and then implement a load more button in React to query Hygraph for more content and load that onto the page.
View the blog post: https://hygraph.com/blog/lazy-load-co...
View the code: https://github.com/brob/astro-hygraph...
00:00 What is pagination
00:17 What are we building?
00:45 Starting point tour
02:05 Changing from posts() query to pagination query
05:20 Creating the More component
10:35 Click handler to load more
15:21 Finished product tour and recap