Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 1 KB

09-load-more.md

File metadata and controls

23 lines (14 loc) · 1 KB
title sidebar_position
(vue)Load more
90

import LoadMore from '@site/example-links/LoadMore';

The example uses vue3 as an example, but you can also use alova in react and svelte. For details, please read the Getting Started Guide;

:::info example description

Using pagination strategy, achieve a more high-performance and easy-to-use pagination function, automatic management of paging-related status, preloading of previous and previous pages, and automatic maintenance of data addition/editing/replacement/ Removed, and request-level stabilization.

Operation guide:

  1. After the initialization is completed, the next page of data will be preloaded, and there is no need to wait for scrolling down the page;
  2. Adding, deleting, and modifying list items does not need to reset the list, it will be automatically processed into the same effect as the re-request;

usePagination documentation

:::