Overview
useSpaceList provides a stateful, paginated list of spaces with support for filtering, sorting, search, and creation. Each list is identified by a listId and maintains independent Redux state, allowing multiple lists on the same page.
For full integration guidance, see Space Lists.
Usage Example
Parameters
Unique identifier for this list’s Redux state slice. Use distinct IDs for independent lists.
Returns
Create a new space and insert it into the list.
Space avatars and banners are uploaded as files, not URLs, so they can’t be
set through this hook. Use useCreateSpace
or useUpdateSpace, which send the image as
multipart/form-data.
