6. useNetworkMode
Naveen Mathew edited this page Mar 6, 2024
·
1 revision
useNetworkMode
allows checking for network connectivity.
It pings an address once each time a time a component is rerendered and after listens to offline
and online
events.
useNetworkMode
has the following options available:
-
ping
: address to ping, the default ishttps://captive.apple.com/hotspot-detect.html