useInfiniteScrollQuery
The usePaginationQuery
hook makes it easy to implement infinite scrolling with supabase. It returns helpers such as loadMore
. This example queries all contacts ordered by username
. Try to update an existing or create a new contact and watch how the list is updated instantly. Note that subscriptions are enabled too, and you will see other peoples changes instantly reflected here.