官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 定襄县| 札达县| 定远县| 沙雅县| 阿图什市| 治多县| 璧山县| 日照市| 南城县| 通化县| 古浪县| 吉隆县| 德化县| 乌苏市| 正阳县| 沈阳市| 金沙县| 汝南县| 裕民县| 依兰县| 德江县| 文化| 公安县| 临泽县| 阜平县| 灯塔市| 烟台市| 来宾市| 三江| 宁蒗| 卢湾区| 仙居县| 寻乌县| 清远市| 东安县| 都兰县| 察雅县| 桐梓县| 黄龙县| 民丰县| 湟中县|