Shared paging primitives for Orbital apps.
This crate provides [Page] and [PageRequest] — the canonical wire types
for offset/limit pagination across all [leptos] server functions. Because it
has no UI or framework dependencies, any crate in the workspace can depend
on it without introducing cycles.
When the leptos feature is enabled, this crate also provides
[use_paged_infinite_scroll] — a reusable hook that encapsulates the
4-signal + use_infinite_scroll callback pattern for paginated lists.
Example
use ;
let request = new;
assert_eq!;
assert_eq!;
let page: = Page ;
assert!;