- Mastering Immutable.js
- Adam Boduch
- 120字
- 2021-07-08 10:30:05
Lodash is a good bet
Lodash is a popular utility library that does a lot of the same things as Immutable.js. It supports the notion of immutability and avoids side-effects. It also supports the concept of collections. Its approach to efficiency is different from what Immutable.js does, but it's there. It might have a larger API than Immutable.js, but it's not that much larger.
The two libraries differ greatly in their overall approach and design, but they're comparable in the aspects that matter. Learning Lodash before switching to Immutable.js isn't a total loss and vice versa. You won't know which libraries work best for you until you write code that uses them.
We'll start writing Immutable.js code in a moment.
推薦閱讀
- ASP.NET Core:Cloud-ready,Enterprise Web Application Development
- Modular Programming with Python
- Android開發精要
- Ext JS Data-driven Application Design
- 微信小程序開發解析
- Visual C#.NET程序設計
- 高級語言程序設計(C語言版):基于計算思維能力培養
- Hands-On Full Stack Development with Spring Boot 2.0 and React
- 編寫高質量代碼:改善Objective-C程序的61個建議
- Machine Learning for Developers
- JavaScript Concurrency
- 關系數據庫與SQL Server 2012(第3版)
- Kotlin程序員面試算法寶典
- HTML5 Game Development by Example:Beginner's Guide(Second Edition)
- Ionic Framework By Example