Sep 5, 2018 · 1 min read
Correct me if I’m wrong, but aren’t you just replicating what the browser already does? On resize, the browser calls all your listeners. You’ve just moved that list of event listners rom the browser to your own code in order to call them all.
Could you add a graph to show that this method is actually faster?
