react-isonline-checker
v1.0.3
Published
A React component and hook for checking if the user's device is online or offline.
Downloads
3
Maintainers
Readme
Check Internet connection
Using this package you can get status of user's internet connection.
Just Import the package.
Usage/Examples
import CheckOnline from 'react-isonline-checker'
function App() {
let isOnline = CheckOnline()
console.log(isOnline) //Result => true/false
}