BrowseruseOnlineOn this pageuseOnline A wrapper of useNetwork Usage Live Editorfunction Demo() { const online = useOnline(); return <div>{JSON.stringify(online)}</div>; }; ResultLoading... API useOnline Returns boolean | undefined: whether netwotk is online Arguments