Skip to content
Function

useOnlineState

Track whether the browser is online.

See useOnlineState with a live demo

@danixsoft/hooks


useOnlineState(): boolean

Returns

boolean