@react-hook/window-size
React hooks for updating components when the size of the `window` changes.
React hooks for updating components when the size of the `window` changes.
Simple React hook providing window width and height updates are triggered on window resize event.
Custom hook to obtain the current window size in React apps.