@custom-react-hooks/use-element-size
MIT`useElementSize` is a React hook that enables dynamic tracking of an HTML element's dimensions. It updates the element's width and height in response to window resizing, element mounting/unmounting, and ref changes.
95
Security score
0 known advisories in v1.5.1
Weekly downloads
—
Unpacked size
7.6 kB
Dependencies
0
Last publish
1 year ago
Security advisories
No known vulnerabilities affect v1.5.1.