Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Web fundamentals – performance.
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.
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.