The useConnectionState hook allows you to simply implement your own ConnectionState component.
useConnectionState
ConnectionState
const connectionState = useConnectionState(room);
Optional
Generated using TypeDoc
The
useConnectionState
hook allows you to simply implement your ownConnectionState
component.Example