useOnline
Whether the browser says the device has a connection, updating live. It is
a hint: a device can report online with no route, and true where the host
gives no signal.
This is a function exported by @mapcairn/map, checked against version 0.2.0.
Signature
import { useOnline } from "@mapcairn/map";
function useOnline(): boolean;
Returns
boolean