Kristoffer Eriksson

🛜 useNetwork

This hook provides real-time information about the user's network connection. It offers insights into the downlink speed, effective network type, round-trip time, and data-saving preferences. Additionally, it includes a real-time online status indicator.

Below you can see the current network details. This can be useful for optimizing content delivery based on the user's connection type or for displaying network status in your application.

Is Online

🔴 False

Downlink

Effective Type

RTT

Save Data

False

View on Github