
@juggle/resize-observer provides a minimal library which polyfills the ResizeObserver API and is entirely based on the latest Draft Specification.
It immediately detects when an element resizes and provides accurate sizing information back to the handler.