Provides an abstracted way to manage a collection state.
Name | Type | Description |
---|---|---|
storeRequest | T | Stores a collection request in state. This is useful when you want to preemptively reduce a request before waiting for a response. |
setPageSize | T | Sets the page size. |
setCurrentPage | T | Sets the current page. |
setSort | T | Sets the sorting option and direction. |
setFilters | T | Sets the collection filters. |
setMetadata | T | Set the entire collection metadata at once. |