News for hackers. Stuff that matters.
Re:Web fundamentals – performance by PhrosTT on Monday February 15, 2016 @10:33AM (#11103849)
Please note they say "debounce" your scroll handlers but they demonstrate a requestAnimationFrame based solution.

Do not confuse this with _.debounce().

In the context lodash/underscore I believe the correct approach is _.throttle the 'scroll', and _.debounce the 'resize' handlers.

There are no comments on this comment yet.