React hook that returns the boundingClientRect for an element and triggers an update when those dimensions change
npm install @acusti/use-bounding-client-rect



useBoundingClientRect is a React hook that returns theboundingClientRect for the passed in HTMLElement and usesResizeObserver to update the return value and trigger a new render when
the HTMLElement’s boundingClientRect changes.