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

  • 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.

主站蜘蛛池模板: 郯城县| 博湖县| 广灵县| 龙口市| 伊川县| 松溪县| 宜君县| 甘孜县| 定襄县| 潼南县| 义乌市| 罗平县| 阳曲县| 九台市| 遵义市| 宁强县| 阿坝| 和龙市| 井冈山市| 上饶县| 铜陵市| 辽阳县| 星座| 水富县| 广宁县| 彩票| 榕江县| 加查县| 会昌县| 陇南市| 闻喜县| 晋江市| 开远市| 本溪| 报价| 麦盖提县| 大丰市| 黄冈市| 措勤县| 克拉玛依市| 本溪市|