use-resize-observer
A React hook that allows you to use a ResizeObserver to measure an element's size.
@thednp/position-observer
🏯 PositionObserver is a JavaScript tool that provides a way to asynchronously observe changes in the position of a target element within its viewport.