useSearchPagination
useSearchPagination provides a small, reusable state model for search + pagination list experiences.
What It Handles
- current
PaginationParamsstate - query updates through
handleSearch - page reset to
1on every new search - full param replacement through
handlePaginationChange
Usage
The example below includes both a live preview and full code.
Avatar | Photo | Name | Email | Status | Role |
|---|---|---|---|---|---|
Loading rows
No items
1 / 1