- 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.
推薦閱讀
- Vue 3移動(dòng)Web開發(fā)與性能調(diào)優(yōu)實(shí)戰(zhàn)
- JavaScript前端開發(fā)模塊化教程
- 騰訊iOS測試實(shí)踐
- R語言數(shù)據(jù)可視化之美:專業(yè)圖表繪制指南
- JavaScript 網(wǎng)頁編程從入門到精通 (清華社"視頻大講堂"大系·網(wǎng)絡(luò)開發(fā)視頻大講堂)
- NumPy Essentials
- 愛上micro:bit
- 玩轉(zhuǎn).NET Micro Framework移植:基于STM32F10x處理器
- Python應(yīng)用與實(shí)戰(zhàn)
- Android編程權(quán)威指南(第4版)
- Deep Learning for Natural Language Processing
- PostgreSQL Developer's Guide
- Mastering Drupal 8
- Elastix Unified Communications Server Cookbook
- R語言編程基礎(chǔ)