feature request: debounced resize event

feature request: debounced resize event

People designing responsive sites drag their windows wide and narrow like mad accordionists! But Doing this without debouncing the resize event can causes chaos in the console. So I use a debounced resize event on almost every single page I ever design.

Louis Remi's longstanding solution:


is a good candidate for canonization into core, in my humble opinion, possibly streamlined slightly. It's not a "plug-in" really, it's a abstraction to resolve a persistent discrepancy that doesn't seem to be going away, and thus suitable for a library. It's just a very few lines of code.

Sorry if I'm posting in the wrong place. Just wanted to throw this out there.