Recreating Popular JavaScript Utility Methods from Lodash
Learn how to recreate common methods like lodash.merge, lodash.debounce, and lodash.get using simple JavaScript techniques. Replace them with modern syntax and build new methods like lodash.throttle, lodash.pick, and lodash.omit. Perfect for modern web developers.
is a collection of utilities that have become a staple of modern web development. This collection will show you how to re-create its most common methods using simple JavaScript techniques available in any modern web browser. In addition to re-building tools like
,
and
from scratch you will also learn how to replace them completely in some cases with modern syntax such as
,
and
.
This collection should interest the following groups:
Course Content
Build lodash.merge from Scratch
Build lodash.debounce from Scratch
Extending debounce with a maxWait Option
Build lodash.get from Scratch
Replace lodash.get with Optional Chaining Syntax
Build lodash.throttle from Scratch
Build lodash.pick from Scratch
Build lodash.omit from Scratch with forEach and for…in
Build lodash.omitBy and lodash.pickBy with Object.fromEntries