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

  • Mastering Immutable.js
  • Adam Boduch
  • 92字
  • 2021-07-08 10:30:05

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.

主站蜘蛛池模板: 梧州市| 黄龙县| 敖汉旗| 乌兰县| 库伦旗| 郎溪县| 黄龙县| 博乐市| 铜陵市| 福安市| 焦作市| 远安县| 建阳市| 郴州市| 长寿区| 榕江县| 茶陵县| 九江市| 秦皇岛市| 保定市| 全州县| 宜丰县| 休宁县| 青海省| 云南省| 江阴市| 西盟| 涞源县| 新宁县| 唐海县| 桂平市| 定西市| 五原县| 阳新县| 库尔勒市| 丰县| 莒南县| 大竹县| 吴堡县| 连山| 铁岭县|