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

Summary

This chapter introduced you to the conceptual foundation of Immutable.js. Immutable data is how we prevent unwanted side-effects. With Immutable.js collections, everything results in new data. This includes changing the collection somehow—these are called persistent changes. It also includes shaping the data in order to do something with it—these are called sequence transformations.

The typical Immutable.js pattern involves chaining collection method calls together—the persistent changes and sequence transformations—ending with a side-effect.

In the next chapter, we'll write some code that creates Immutable.js collections.

主站蜘蛛池模板: 枣庄市| 连山| 乌兰浩特市| 新兴县| 垫江县| 互助| 龙泉市| 金山区| 西藏| 开化县| 磴口县| 漾濞| 屏南县| 汶川县| 大丰市| 高雄县| 沾化县| 礼泉县| 通州市| 北海市| 三门峡市| 米易县| 温泉县| 通辽市| 图们市| 洞口县| 辉南县| 武平县| 张家口市| 驻马店市| 石首市| 汨罗市| 虞城县| 梧州市| 资溪县| 泰兴市| 遵化市| 都匀市| 宜城市| 将乐县| 高碑店市|