useDimensions icon indicating copy to clipboard operation
useDimensions copied to clipboard

A React Hook to measure DOM nodes

Results 39 useDimensions issues
Sort by recently updated
recently updated
newest added
trafficstars

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...

Figured this would be a good enhancement. Thoughts?

Closes #14. I've put the justification in that issue.

Do you think you could add another argument to `useDimensions()` that lets you specify the type of measurement function? For example, React Measure lets you choose between `client`, `offset`, and...

https://github.com/Swizec/useDimensions/blob/master/src/index.ts#L11

The hook works great however it does throw this warning in development.

Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. Release notes Sourced from decode-uri-component's releases. v0.2.2 Prevent overwriting previously decoded tokens 980e0bf https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2 v0.2.1 Switch to GitHub workflows 76abc93 Fix issue where decode...

dependencies

Bumps [qs](https://github.com/ljharb/qs) from 6.2.3 to 6.2.4. Changelog Sourced from qs's changelog. 6.2.4 [Fix] parse: ignore __proto__ keys (#428) [Fix] utils.merge: avoid a crash with a null target and an array...

dependencies

Bumps [express](https://github.com/expressjs/express) from 4.16.4 to 4.18.2. Release notes Sourced from express's releases. 4.18.2 Fix regression routing a large stack in a single route deps: [email protected] deps: [email protected] perf: remove unnecessary...

dependencies