August 2022
Beginner to intermediate
424 pages
10h 19m
English
Throughout the book, we have used Lodash (https://lodash.com/) to illustrate how to manipulate data with generic functions. But there is nothing unique about Lodash. The exact same approach could be implemented via other data manipulation libraries or custom code.
Moreover, we used Lodash FP (https://github.com/lodash/lodash/wiki/FP-Guide) to manipulate data without mutating it. By default, the order of the arguments in immutable functions is shuffled. The code in listing D.1 is needed when configuring Lodash in order to ensure the signature of the immutable functions is exactly the same as the mutable functions.
Listing D.1 Configuring immutable functions
_ = fp.convert({
"cap": false,
"curry": false,
"fixed": ...Read now
Unlock full access