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

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
主站蜘蛛池模板: 德州市| 上蔡县| 元氏县| 永定县| 沁水县| 南充市| 霞浦县| 东方市| 磴口县| 德庆县| 临潭县| 西丰县| 仁化县| 元氏县| 台州市| 盐源县| 澄城县| 共和县| 华池县| 湾仔区| 望江县| 石屏县| 宾川县| 武威市| 锦州市| 永修县| 宝鸡市| 沙坪坝区| 林周县| 呈贡县| 壤塘县| 英山县| 平度市| 嵊泗县| 疏附县| 梓潼县| 揭东县| 上犹县| 马公市| 大理市| 柳河县|