Hey Swizec,
This useDimensions hook looks nice,
but the typescript typings is not in the code when I get it from NPM,
and its not in @types/react-use-dimensions either.
But I can see in your source code that you have created it with typings.
I it possible that you can add the typings so it can be used in "strict" typescript projects?
(I believe its adding "typing:ref to file" in the package.json or something like that)
/br
Hey Swizec,
This useDimensions hook looks nice,
but the typescript typings is not in the code when I get it from NPM,
and its not in @types/react-use-dimensions either.
But I can see in your source code that you have created it with typings.
I it possible that you can add the typings so it can be used in "strict" typescript projects?
(I believe its adding "typing:ref to file" in the package.json or something like that)
/br