Company
Date Published
Dec. 23, 2020
Author
Anthony Gore
Word count
2190
Language
English
Hacker News points
None

Summary

This tutorial demonstrates how to implement infinite scroll in a Vue.js app using Apollo and Hasura GraphQL. The steps covered include setting up a Vue/Apollo app, configuring local Hasura with Docker, seeding the database with mock data, making paginated database calls with Apollo's fetchMore feature, and implementing scroll loading in the frontend. By following this tutorial, developers can gain a better understanding of using Hasura's GraphQL server effectively in their web app stack and learn how to implement infinite scroll in their own JavaScript apps.