useSpaceList hook provides a Redux-backed, paginated list of spaces with support for filtering, sorting, and search. It is designed for discovery pages, community browsers, and admin dashboards.
Basic Usage
Filtering and Sorting
Sort Options
Creating and Deleting from a List
useSpaceList also exposes create and delete operations that automatically update the list state:
Multiple Independent Lists
EachuseSpaceList call uses a listId to maintain independent Redux state. You can have multiple lists on the same page without interference:
Return Values
The current page of loaded spaces.
true while fetching.true if there are more pages to load.Trigger a new fetch with the given filters and configuration. Resets to page 1.
Fetch the next page of results and append to the current list.
Create a new space and insert it into the list.
Delete a space and remove it from the list.

