usePeerIds

See source code

Reactive list of peer user IDs for collaborators currently shown in the UI. This list includes user ids who are not on the user's current page. Mirrors Editor.getVisibleCollaborators — peers fade out as they transition to idle/inactive, without requiring a manual re-render.

function usePeerIds(): string[];
Prev
usePassThroughWheelEvents
Next
usePresence