February 1, 2017When 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 Article — Permalink10 Lodash Features You Can Replace with...
July 29, 2016One 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 for the end user. Repaints are expensive, especially when you are r...
June 9, 2016Right now, Lodash is the most depended-on npm package, but if you’re using ES6, you might not actually need it.
In this article, we’re going to look at using native collection methods with arrow functions and other new ES6 features to help us cut corners around many popular use cases.
1. Map, Filter, Reduce...
Recent Comments