Tag Archives: lodash

lodash v4.0.0 released

lodash 4 packs major changes, drops thisArg, folds _.pluck, _.where and more into other methods, adds support for extended Unicode symbols

 

For 2016 & lodash v4.0.0 we wanted to cut loose, push forward, & take things up a notch!

With v4 we’re breaking free from old projects, old environments, & dropping old IE < 9 support!

Read more from the source: GitHub

Harder, Better, Faster, Stronger lodash v3

Try out lodash v3’s performance improvements and tons of new methods with easy upgrade path

 

lodash is a utility library delivering consistency, customization, performance & extras. It is also one the most dependent upon NPM packages.1 After a complete overhaul (over 800 commits since it has been bumped to v3.0.0-pre2), version 3 boosts increased performance and a whole lot of new features.

There is a lodash-migrate package that assists with migrating code from older lodash versions to the latest release.

Read more from the source: Gajus

Make Your Own AngularJS, Part 1: Scopes And Digest

Don’t quite grasp AngularJS dirty checking? Walk through creating a clone of AngularJS step by step with Tero Parviainen

 

Tero Parviainen, Independent Software Maker, walks through creating an AngularJS clone one function at a time.

This part 1 article covers $eval, $digest, and $apply and how the digest cycle works and how it handles watchers.

From the article:

While the Angular documentation is getting very good, and there’s an increasing number of third-party resources, there’s really no better way to really learn a technology than to take it apart and see what makes it tick.

In this article series, I’m going to build an implementation of AngularJS from the ground up. As I take you through it step by step, you’ll gain a deep understanding of exactly how Angular works.

Read more at teropa.info

How Tall is Yoda? At UtahJS on 8/19/2014 I gave this Star Wars themed presentation that compares different types of loops

Learn ES5 Array methods and lodash with my walkthrough that shows side-by-side comparisons of practical examples

 

We’ve come a long way from 2005. PrototypeJS brought us many Array.prototype methods such as #each, #filter, #pluck, #invoke, #any that have inspired ES5 Array methods and lodash methods.

Given an array of objects that you might receive from a database, what do different tasks look like with a regular for loop, jQuery.each, ES5 Array methods and lodash?

Review and try out the code and you’ll learn something about ES5 and lodash–and maybe even Star Wars.

View Presentation