A hook that tracks the boundingclientrect of an element. It returns a callbackRef so that the element node if changed is easily tracked.
react-hooks.org/docs/use-boundingclientrect-ref
imbhargav5/rooks
Latest: 4.11.2
4 years ago