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

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
主站蜘蛛池模板: 金塔县| 霍城县| 龙陵县| 上蔡县| 和平县| 会东县| 垫江县| 康乐县| 大荔县| 永兴县| 太康县| 南昌县| 佛教| 鹤峰县| 滁州市| 麦盖提县| 陆河县| 镇江市| 搜索| 洪湖市| 乌兰浩特市| 沙河市| 丰都县| 乌什县| 鲁山县| 忻城县| 武强县| 蒙阴县| 庐江县| 翁源县| 盈江县| 辛集市| 张北县| 德安县| 西峡县| 辰溪县| 宜章县| 鲁山县| 沾化县| 蓬莱市| 始兴县|