- 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
推薦閱讀
- 零基礎搭建量化投資系統:以Python為工具
- Building a Home Security System with Raspberry Pi
- Java編程指南:基礎知識、類庫應用及案例設計
- FreeSWITCH 1.6 Cookbook
- x86匯編語言:從實模式到保護模式(第2版)
- Blockly創意趣味編程
- 軟件工程
- FLL+WRO樂高機器人競賽教程:機械、巡線與PID
- Learning Salesforce Einstein
- Visual Studio Code 權威指南
- Flink入門與實戰
- 零基礎學編程系列(全5冊)
- Design Patterns and Best Practices in Java
- C#程序設計基礎與實踐
- Raspberry Pi By Example