useWindowSize - Custom React Hook
A custom React Hook to get the window dimensions including resizing.
Useful for implementing responsive behavior, modifying elements for different screen sizes.
Install
$ npm install react-use-window-size
Usage
; const width height = ; console; //Current window size i.e. 1366 768
License
MIT