Repository navigation
v1.7.0
Release 1.7.0 - Changelog
New Features:
useWindowSize Hook: Introduced a new custom hook to track browser window size changes.
Fetch the current width and height of the window.
Auto-updates values when the window is resized.
Optimized to prevent unnecessary re-renders.
TypeScript support for strict typing and enhanced integration.
Improvements:
Enhanced performance and responsiveness in components that utilize window size, thanks to the new useWindowSize hook.
Memory usage optimizations during frequent window resizes.
Documentation:
Added a dedicated section in the documentation for the useWindowSize hook, inclusive of usage examples, guidelines, and best practices.