Now all we have to do is ensure our container elements always have the right breakpoint classes on them, so the correct component selectors will match. Observing container resizesFor most of web development history, it’s been possible to observe changes to the window, but it’s been hard or impossible (at least in a performant way) to observe size changes to individual DOM elements. This changed wh