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

Why Immutable.js?

Immutable.js is yet another JavaScript library. If this makes you cringe, don't worry—I feel your pain. The last thing that JavaScript developers need is another library to learn. Then, I used the library and realized that Immutable.js is one of those gems that you don't have to feel bad about including as a dependency.

This first chapter will show you what Immutable.js is all about. Hopefully, I can dispel any mysteries about Immutable.js while making you want to try it out for yourself.

Here's what you'll learn in this chapter before getting your hands dirty in the chapters that follow:

  • Why changes to data are destructive
  • What are persistent changes?
  • The hybrid functional/object approach used by Immutable.js
  • Why data flows in one direction in Immutable.js
  • Alternative libraries and approaches to immutability
主站蜘蛛池模板: 富川| 建德市| 梁山县| 皮山县| 澳门| 皮山县| 巴塘县| 莱西市| 密云县| 且末县| 青冈县| 城固县| 栾城县| 崇信县| 洪江市| 辽源市| 安宁市| 南阳市| 三明市| 汽车| 文安县| 兴山县| 黔西| 肥城市| 长岭县| 前郭尔| 黄浦区| 长乐市| 浦江县| 西乌珠穆沁旗| 温宿县| 崇阳县| 靖宇县| 通江县| 盐边县| 南阳市| 苍南县| 金门县| 龙州县| 修武县| 高陵县|