React sensor hook that tracks dimensions of an HTML element.
The useMeasure hook uses the Resize Observer API.
useMeasure
Run the following command:
npx ever-ui-clx@0.2.1 add demo-use-measure # └──> Hook coming soon.
{ "x": 0, "y": 0, "width": 0, "height": 0, "top": 0, "left": 0, "bottom": 0, "right": 0 }