Brilliant But Lazy (3–3 Article Series)
source link: https://blog.geekyants.com/brilliant-but-lazy-3-3-article-series-b8d2f0d1dc97
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Brilliant But Lazy (3–3 Article Series)
The third and final installment in a three part series about Lodash. Lazy evaluation, performance gains and its applications in Lodash.
Some time back I wrote an article about Lodash. It covered some of the great things about the library as well as some pitfalls of using it. Part of it focused on Lodash’s chain
function, which allows you to pass a value through a chain of Lodash utilities.
Later, I wrote an article about composition with Lodash and the FP module, flow
and how flow
can overcome some of chain
's issues.
In this article, I’ll be talking a little more about chain
and how it uses a trick that, in some cases, can drastically improve performance when dealing with arrays.
Read the complete article here.
The road ends here for Rishabh Karnadand his deep dive into Lodash but the journey surely doesn’t. Make sure to give him the recognition he deserves and leave claps and comments to make him publish more quality content.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK