/** * Tracks the browser's active network connection status dynamically. * Updates in real-time if the user's internet connection drops or restores. * * @returns boolean `true` if online, `false` if offline. * * @example * ```tsx * const isOnline = useOnlineStatus(); * return