This hook utilizes the resize-observer API in order to calculate an element's current dimensions and its position on the canvas.
Values
bounds:
Contains all the dimensions of the element => (x-value, width, etc...)
Arguments
ref:
References the element you wan't to observe