Overview
useFetchSpaceChildren returns a callable function that fetches the immediate child spaces of a given space. Results are paginated.
Authentication is optional. When the caller is signed in, each child carries
an
isMember flag. The list holds the sub-spaces the caller can see that are public or that the caller is an active member of, so an unlisted sub-space appears only to its members and a private one only to its active members. A parent space the caller can’t see answers 404, exactly like a nonexistent one. These are the same sub-spaces a space’s childSpaces preview shows and its childSpacesCount counts.Usage Example
Parameters
Returns
Array of Space objects representing the child spaces.

