ResizeObserver — a new way to attach listeners to listen to size changes of observed elements
When developing progressive web apps, it’s also necessary to write optimised code. Hence when we want to listen to size changes of HTML elements, we had to attach a…