react-use-network-status
v1.0.3
Published
A tiny React hook to detect online/offline status
Maintainers
Readme
📡 react-use-network-status
A lightweight and efficient React hook to track the user’s online/offline network status in real time. Easily detect connectivity changes and provide a better user experience in your React applications.
🚀 Features
✅ Detects online/offline network changes instantly
✅ Lightweight and dependency-free
✅ Works with any React project (CRA, Next.js, Vite, etc.)
✅ Customizable logic for handling network loss
✅ Supports TypeScript
📥 Installation npm install react-use-network-status
