- 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
推薦閱讀
- JavaScript+DHTML語法與范例詳解詞典
- 算法零基礎(chǔ)一本通(Python版)
- C語言程序設(shè)計基礎(chǔ)與實驗指導(dǎo)
- Visual Basic程序設(shè)計教程
- C程序設(shè)計實踐教程
- Node.js:來一打 C++ 擴展
- Unity 2017 Mobile Game Development
- Python High Performance Programming
- Mastering React
- R語言數(shù)據(jù)可視化:科技圖表繪制
- jQuery for Designers Beginner's Guide Second Edition
- Qt 4開發(fā)實踐
- Splunk Essentials
- Blender 3D Cookbook
- Visual FoxPro程序設(shè)計實驗教程