reuseOnline - Easily check and display your users online status | Product Hunt

reuseonline is live 🎉

reuseOnline Hook

reuseonline - A React custom hook to check the online status of a user's device.

npm i re-use-online

product preview

How it Works

The useOnlineStatus hook utilizes the navigator.onLine property to determine the initial online status of the user's device. It also adds event listeners for the online and offline events to update the online status dynamically.

made by prince elorm with 💖

@ princeelorm17@gmail.com