use-connection-state (npm): React hook to detect online and offline network state.
Keywords: network|state|connection|online|offline|typescript|react|hook