ObaidNadeem / useWindowsize-React-Custom-Hook

In certain conditions like absolutely positioned elements sometimes don't respond to viewport width & height, this hook is very much useful in those cases. It watches the height and width of the screen & updates the values in the state likewise. useWindowsize is a react js custom hook which can be used to get the current height and width of the window when vw & vh are not working.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ObaidNadeem/useWindowsize-React-Custom-Hook Issues

No issues in this repository yet.