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

  • Mastering Immutable.js
  • Adam Boduch
  • 91字
  • 2021-07-08 10:30:09

Persistent Changes

Immutable data cannot change. The state of your applications must change, however, otherwise they would be completely static. To cope with changing the application state, Immutable.js collections use persistent changes. A persistent change involves first copying the target collection and then making the change in the copy.

The focus of this chapter is on some of the collection methods that implement persistent changes. You'll learn about the following:

  • Adding values to collections
  • Setting and updating collection values
  • Removing values from collections
  • Emptying collections
  • Tracking the change history of collections
主站蜘蛛池模板: 巨鹿县| 内江市| 永寿县| 普格县| 武威市| 温泉县| 拉萨市| 白银市| 大连市| 伊金霍洛旗| 讷河市| 霞浦县| 云和县| 泰顺县| 江孜县| 黄冈市| 徐汇区| 育儿| 青神县| 南靖县| 双江| 祁东县| 塔河县| 陕西省| 巩义市| 阿坝| 类乌齐县| 常宁市| 灵台县| 弥渡县| 砀山县| 元谋县| 定州市| 阜新市| 潢川县| 宽甸| 诸暨市| 庆云县| 会宁县| 三河市| 南平市|