{"repo":"Gourav2609/light-hooks","free":true,"listed":false,"github":"https://github.com/Gourav2609/light-hooks","clone":"git clone https://github.com/Gourav2609/light-hooks.git","description":"light-hooks (npm package)","language":"TypeScript","stars":13,"topics":["hooks","ismobile","nextjs","reactjs"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"Light Hooks A lightweight React hooks library built for performance and developer experience. ✨ Why light-hooks? light-hooks delivers production-ready React hooks that prioritize performance without sacrificing developer experience. Each hook is carefully optimized using modern browser APIs and best practices. - 🪶 Ultra-lightweight — Tree-shakable with minimal runtime overhead - ⚡ Performance-first — Uses ResizeObserver, stable refs, and optimized event handling - 🎯 TypeScript native — Written in TypeScript with complete type safety - 🔧 SSR compatible — Zero hydration mismatches, works everywhere - 🎨 Developer friendly — Intuitive APIs with comprehensive documentation Quick Start 🎣 Hooks useIsMobile — Mobile device detection with ResizeObserver for zero-cost updates. useClickOutside — Handle clicks outside elements. Perfect for modals and dropdowns. useCountdown — Flexible countdown timers with start/pause/reset controls. useLocalStorage — Persistent state with automatic serialization and cross-tab sync. usePing — Network connectivity monitoring with real-time latency measurement. useHotKey — Keyboard shortcuts with modifier keys and conflict-free bindings. useEvent — Advanced event handling with delegation and performance optimization. usePermission — Browser permissions management with unified API for camera, microphone, notifications. useScroll — Advanced scroll monitoring with direction tracking, velocity, and scroll locking controls. useDebounce — Delay value update","default_branch":null,"files":null,"tree":[],"storefront":"/r/Gourav2609","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Gourav2609/light-hooks/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}