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

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.

主站蜘蛛池模板: 大荔县| 克什克腾旗| 鹰潭市| 时尚| 安阳市| 衡山县| 永胜县| 廊坊市| 阿拉善左旗| 龙里县| 乌鲁木齐市| 齐河县| 丰顺县| 仙桃市| 兴安县| 平果县| 温州市| 新巴尔虎左旗| 徐汇区| 军事| 铜山县| 娱乐| 琼海市| 吉水县| 巴林左旗| 盐池县| 徐闻县| 平顺县| 东方市| 额尔古纳市| 宝鸡市| 武平县| 西宁市| 普兰店市| 盐津县| 南宁市| 巴楚县| 进贤县| 南川市| 吉隆县| 山丹县|