lndsld

Home > @lndsld/react-hooks > useWindowSize

useWindowSize() function

Subscribe to changes of browser window’s width and height

Signature:

declare function useWindowSize(): IVector2;

Returns:

IVector2