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

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.

主站蜘蛛池模板: 玉林市| 衡山县| 合山市| 佛坪县| 伊宁县| 武威市| 汕头市| 敖汉旗| 内乡县| 静宁县| 长子县| 阳东县| 德州市| 甘泉县| 乡宁县| 阿坝县| 介休市| 泰顺县| 皮山县| 突泉县| 南昌市| 永寿县| 曲阳县| 石城县| 大余县| 金华市| 张家港市| 丘北县| 江川县| 县级市| 炉霍县| 平远县| 梧州市| 新郑市| 临澧县| 团风县| 全南县| 车险| 尚义县| 三原县| 屯昌县|