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

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.

主站蜘蛛池模板: 贵定县| 武宣县| 雷州市| 比如县| 金溪县| 河北区| 林芝县| 斗六市| 津南区| 高淳县| 明溪县| 陵川县| 冕宁县| 浦江县| 呼图壁县| 邯郸县| 翼城县| 洛南县| 张家界市| 广州市| 石泉县| 东安县| 乌拉特中旗| 琼海市| 醴陵市| 渭南市| 彰武县| 商城县| 阳信县| 元朗区| 贡觉县| 剑川县| 莲花县| 伊宁市| 博客| 舒兰市| 高唐县| 全州县| 建水县| 万年县| 南靖县|