useIsAutoConnecting

A hook to check if the auto connect is in progress.

Example

function Example() {
const isAutoConnecting = useIsAutoConnecting();
return <div> ... </div>;
}

Returns

A boolean indicating if the auto connect is in progress.