Archive for the ‘lodash’ Category

10 Lodash Features You Can Replace with ES6

Posted on: No Comments
When learning to write JavaScript without jQuery, I found posts like this (also on SitePoint) quite helpful to reference. Now we're going through that again, in a way, with ES6 replacing some of what we used libraries to help with. Direct Link to Arti...

Quick Tip: How to Throttle Scroll Events

Posted on: No Comments
One of the perils of listening to scroll events is performance degradation. The browser will execute the callback every single time the user scrolls, which can be many events per second. If the callback performs a bunch of repaints, this means bad news...

10 Lodash Features You Can Replace with ES6

[author_more] This article was peer reviewed by Mark Brown. Thanks to all of SitePoint's peer reviewers for making SitePoint content the best it can be! Lodash is the most depended on npm package right now, but if you're using ES6, you might not actual...