DEV Community

Cover image for Create a window size hook in React
coder4life
coder4life

Posted on

Create a window size hook in React

Create a reuseable hook for getting the size of the current window.

Top comments (0)