Автор: Fu Cheng
Издательство: Leanpub
Год: 2024-01-10
Страниц: 156
Язык: английский
Формат: pdf (true), mobi, epub
Размер: 10.1 MB
Start learning Lodash 4 from this book. Lodash can increase your productivity dramatically in your daily development. It's an essential tool in your jаvascript toolbox. This book talks about Lodash in a systematic way and explains some complicated parts, especially functional programming. This book includes content for Lodash v4.17.21.
Lodash - a modern jаvascript utility library delivering modularity, performance & extras. In modern web development, jаvascript is a must-to-learn programming language. Using jаvascript is not an easy task. Most of jаvascript APIs are low-level APIs, which are hard to learn and use. Lodash is a popular jаvascript utility framework. It provides a lot of high-level APIs which are more convenient to remember and use. Developers can dramatically increase productivity by using Lodash.
This book is a very good start point to learn Lodash 4 and apply it in practice. It covers core concepts and functions provided by Lodash with real examples. For some complicated functions, e.g. functions related to functional programming, this book has a more detailed explanation.
Before we discuss Lodash, we should understand why we need a jаvascript utilities library. With the prevalence of Web 2.0, Ajax and NodeJS, jаvascript has become a very important programming language in both browser-side and server-side. Besides the bad parts1 of jаvascript language, jаvascript itself doesn’t have a rich set of high-level API for developers to use, which makes common programming tasks hard to complete.
For example, it’s a very common task to iterate an array and process all elements in this array in sequence. In some old browsers, the jаvascript Array object doesn’t have the method forEach().
Most of the code examples are written as Jest test cases with ES6.
Скачать Lodash 4 Cookbook : For lodash 4.17.21