vince-nguyen-use-resize-observer (npm): Easy to use resize observer hook
Keywords: detect when element resizes|react|custom hook