Simulate
Live state
- Status
- unknown
- Reason
- none
- Checking
- no
- isOnline
- true
Re-check on return
Re-probing when the user comes back to the tab is opt-in per screen, with useRecheckOnReturn. With brief the pieces show a short “Checking…” while that background probe runs; with none it stays invisible.
How long the stub takes to answer, so Checking is visible.
Options
Tried in order; the first success wins. Not contacted while the stub is on.
With interface-only, only the Simulate kind No network connection works.
Off by default. When on, the library contacts the probe URLs above, and Simulate only affects the network interface.
Callbacks
onOffline, onOnline, onChange, onDismiss, onContinueOffline and onError write here, newest first.
Nothing yet.