Overview
useFetchManyEventsWrapper wraps useFetchManyEvents into a ready-to-render list: it holds the accumulated events, tracks loading/hasMore, manages sort state, and exposes loadMore and refresh. It mirrors useFetchManyEntitiesWrapper. Visibility is enforced server-side, so the list only contains events the current user may see.
Changing any filter prop (or calling refresh) resets the list to page 1.
Usage Example
Parameters
Page size. Defaults to
10.Restrict to one space.
Only events this user hosts.
Filter by type.
Filter by status.
Derived time window.
ISO datetime lower bound.
ISO datetime upper bound.
Statuses the logged-in user RSVP’d with.
Proximity filter.
Free-text filter on
title.Free-text filter on
description.Associations to expand.
Initial sort field. Defaults to
"startTime".Initial sort direction. Defaults to
"asc".Returns
The accumulated events.
true while fetching.Whether more pages remain.
Current sort field.
Current sort direction.
Change the sort field (resets to page 1).
Change the sort direction (resets to page 1).
Advance to the next page.
Re-run the query from page 1.

