usePaginationQuery
The usePaginationQuery
hook makes it easy to use a paginated supabase query. It returns helpers such as previousPage
, nextPage
and currentPage
. 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.