UseParticipantsOptions
Defined in: packages/react/src/hooks/participant/useParticipants.ts:33
Properties
room?
optional room?: unknown;Defined in: packages/react/src/hooks/participant/useParticipants.ts:35
The room to use. If not provided, the hook will use the room from the context.
updateOnlyOn?
optional updateOnlyOn?: unknown[];Defined in: packages/react/src/hooks/participant/useParticipants.ts:37
To optimize performance, you can use the updateOnlyOn property to decide on what RoomEvents the hook updates. By default it updates on all relevant RoomEvents to keep the returned