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

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.

主站蜘蛛池模板: 茂名市| 黎城县| 读书| 贺州市| 云浮市| 大丰市| 日喀则市| 临沧市| 虞城县| 乌拉特中旗| 承德市| 长沙市| 建瓯市| 开远市| 抚宁县| 凤冈县| 鲁山县| 横峰县| 通渭县| 沂南县| 黄冈市| 靖远县| 汤原县| 寿宁县| 婺源县| 临邑县| 苏州市| 肥城市| 天峨县| 翁源县| 安仁县| 乌拉特前旗| 噶尔县| 古浪县| 揭阳市| 福安市| 大同市| 保靖县| 分宜县| 伊金霍洛旗| 抚远县|